diff options
author | 2015-09-12 22:07:47 +0000 | |
---|---|---|
committer | 2015-09-12 22:07:47 +0000 | |
commit | c97a905ab67835fd2b84048ba7adca98a65bb79d (patch) | |
tree | 4154125b64027e03e3e16fcbb11e14c3305ba311 /lib/libc/stdlib/div.c | |
parent | Add missing free() in efid_io(). Found by jsg. (diff) | |
download | wireguard-openbsd-c97a905ab67835fd2b84048ba7adca98a65bb79d.tar.xz wireguard-openbsd-c97a905ab67835fd2b84048ba7adca98a65bb79d.zip |
Call socreate(9) only when we have a destination ip and port.
Call sobind(9) only when we have a source ip.
With this we can treat sc->so != NULL as a flag if the interface
is in state IFF_RUNNING.
Input & OK bluhm@, OK benno@
Diffstat (limited to 'lib/libc/stdlib/div.c')
0 files changed, 0 insertions, 0 deletions