summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2019-01-17 20:46:11 -0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2019-01-21 10:24:37 -0200
commit691e903879bcf88c872d74f6317784bd2187f3ca (patch)
tree1afe9fc24659ff530fea3af31b8cb5b98f4188e9 /lib/command.c
parent914fea09d9e1a5379b7ed9fa43b0505a091395af (diff)
zebra: fix routing socket AF_LINK handling on NETMASK
IPv6 netmasks use AF_LINK family type and puts the correct amount of set bits in the data structure. If we only copy the SDL header we won't get all IPv6 address length, we must copy the whole extension of the `sockaddr_in6` struct (which is provided in `destlen` parameter). Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions