summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getopt_long.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2020-05-27 20:44:07 +0000
committerbluhm <bluhm@openbsd.org>2020-05-27 20:44:07 +0000
commite425060fbaec9ae9ef36af44a3fa14b13d0f72e6 (patch)
treeeff60c5aa451792f2c03f234bb7c21f23406a548 /lib/libc/stdlib/getopt_long.c
parentsync (diff)
downloadwireguard-openbsd-e425060fbaec9ae9ef36af44a3fa14b13d0f72e6.tar.xz
wireguard-openbsd-e425060fbaec9ae9ef36af44a3fa14b13d0f72e6.zip
Connectionless sockets like UDP can be re-connected to a different
address. In that case, the linking to the pf state must be dissolved as the latter still contains the old address. If it is a divert state, also remove the state as any divert state must be associated with a matching socket. Call pf_remove_divert_state() and pf_inp_unlink() from in_pcbconnect(). reported by Tim Kuijsten; OK sashan@ claudio@
Diffstat (limited to 'lib/libc/stdlib/getopt_long.c')
0 files changed, 0 insertions, 0 deletions