summaryrefslogtreecommitdiff
path: root/lib/frr_pthread.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2019-01-08 10:32:28 -0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2019-01-08 10:32:28 -0200
commit75e710df7a21d980bba9e5b2260408a3b30d4145 (patch)
tree0b7b786d9b68dcf55a0b1809648b156495148678 /lib/frr_pthread.c
parent19fb538dc116c837af3bb1a76526cbb9a39d1bfc (diff)
zebra: fix FreeBSD warning on fresh OS boot
Handle corner case where a warning log message is issued on interface address netmask handling with sockaddr type AF_LINK: it may come empty or with match all (all 0xFF). In the first case all lengths are zero and we only need to copy the first bytes, second case it comes with a zero index and all 0xFF bytes. In any case we only need to figure out a few of the first bytes instead of all data. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/frr_pthread.c')
0 files changed, 0 insertions, 0 deletions