summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-keygen.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2005-06-08 03:13:49 +0000
committerhenning <henning@openbsd.org>2005-06-08 03:13:49 +0000
commitff4d910fc01256985afdb539fa28a90850c1c656 (patch)
tree56129c8e8d19961d4cec2ddfa7a771a8d0455b3c /usr.bin/ssh/ssh-keygen.c
parentsync (diff)
downloadwireguard-openbsd-ff4d910fc01256985afdb539fa28a90850c1c656.tar.xz
wireguard-openbsd-ff4d910fc01256985afdb539fa28a90850c1c656.zip
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 'usr.bin/ssh/ssh-keygen.c')
0 files changed, 0 insertions, 0 deletions