summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-06-08 03:13:50 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-06-08 03:13:50 +0000
commit59a548f3383db52de88f7e3290c836dd19566df4 (patch)
treeac3b7dfc0f7151896c0d110ed5931f98afb0a26f /bin
parentd7ec77836ae8bb78c0c12297ce25e765edcbffe3 (diff)
in rtlabel_name2id, handle the case of an empty name: return 0
label id 0 means "no label". in pf_ioctl, where this is used to filter based on a label, this is an error condition. for the other 2 cases, messages on the routing socket, this allows for an sockaddr_rtlabel to be always present for messages on the routing socket, and when it is all zero it is exactly like if there was no sockaddr_rtlabel at all. ryan ok
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions