]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix uninitialized & wrong endian NOTIFY 4514/head
authorDavid Lamparter <equinox@diac24.net>
Wed, 12 Jun 2019 21:17:26 +0000 (23:17 +0200)
committerDavid Lamparter <equinox@diac24.net>
Thu, 13 Jun 2019 18:43:13 +0000 (20:43 +0200)
commit6dcef54cbf8e08e6b9fde2997375818f4fb9a2e8
tree466b91b6dbf1611c6c98ef13d1dd0d63898cd5c9
parented4e30ede40a4c313b447c45ffdc8f2f6016aac5
bgpd: fix uninitialized & wrong endian NOTIFY

notify_data_remote_as4 would contain garbage if optlen == 0, and also
as4 is in host byte order while the notify needs network byte order.

Signed-off-by: David Lamparter <equinox@diac24.net>
bgpd/bgp_packet.c