]> git.proxmox.com Git - mirror_frr.git/commit - zebra/rt_socket.c
zebra: use proper sockaddr size in kernel_rtm
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Thu, 17 Jan 2019 13:09:09 +0000 (11:09 -0200)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 22 Jan 2019 11:33:37 +0000 (09:33 -0200)
commit0413dd7573f917fec9faa0886247d15555c98c7b
tree16eaff8fdf668c18cf191e2dfe150bdb3bc89517
parent62b6a7e149fa35d0edbece65bf21c7d13e0c78cd
zebra: use proper sockaddr size in kernel_rtm

`sockaddr` `len` field is the address type size and not the mask length.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
(cherry picked from commit a6c000318226b9c3e5c3010ea31c6941ac1dff43)
zebra/rt_socket.c