mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 21:47:15 +02:00
Merge pull request #18473 from zmw12306/Request-TLV
babeld: Missing Validation for AE=0 and Plen!=0
This commit is contained in:
commit
d736350986
|
@ -706,6 +706,11 @@ parse_packet(const unsigned char *from, struct interface *ifp,
|
|||
"Received source-specific wildcard request.");
|
||||
goto done;
|
||||
}
|
||||
if(message[3] != 0) {
|
||||
flog_err(EC_BABEL_PACKET,
|
||||
"Ignoring request with AE=0 and non-zero Plen");
|
||||
goto done;
|
||||
}
|
||||
/* If a neighbour is requesting a full route dump from us,
|
||||
we might as well send it an IHU. */
|
||||
send_ihu(neigh, NULL);
|
||||
|
|
Loading…
Reference in a new issue