mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge pull request #18548 from zmw12306/request_subtlv_type
babeld: fix incorrect type assignment in parse_request_subtlv
This commit is contained in:
commit
2355683c72
|
@ -290,7 +290,7 @@ parse_request_subtlv(int ae, const unsigned char *a, int alen,
|
|||
int have_src_prefix = 0;
|
||||
|
||||
while(i < alen) {
|
||||
type = a[0];
|
||||
type = a[i];
|
||||
if(type == SUBTLV_PAD1) {
|
||||
i++;
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue