Merge pull request #18548 from zmw12306/request_subtlv_type

babeld: fix incorrect type assignment in parse_request_subtlv
This commit is contained in:
Jafar Al-Gharaibeh 2025-04-10 09:56:14 -05:00 committed by GitHub
commit 2355683c72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;