summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_rib.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2023-10-17 18:00:00 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2023-10-17 18:00:00 +0000
commit1390132d716d4e14f00f0447dbe4977bf08567c1 (patch)
tree72adb02bcf1ab7a1c1c3643a13e8764beb97248c /usr.sbin/bgpd/rde_rib.c
parent8550a8d3b56f97ed6037dfd5c4584ebf2f73c285 (diff)
Neither sin_len nor sin6_len can be 0 so these checks are not needed.
Also reorder the RTF_HOST vs netmask check. RTF_HOST wins if both are set. Makes the code a bit neater. OK tb@
Diffstat (limited to 'usr.sbin/bgpd/rde_rib.c')
0 files changed, 0 insertions, 0 deletions