summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_ioctl.c
diff options
context:
space:
mode:
authorbrian <brian@openbsd.org>1997-12-07 04:09:07 +0000
committerbrian <brian@openbsd.org>1997-12-07 04:09:07 +0000
commitd0aa150a55039e90a71edb708e9651a38c23a75e (patch)
tree497085633d21ea20ceb3ea608731a00d242ae93a /sys/compat/linux/linux_ioctl.c
parentCorrect cftypes128 index. (diff)
downloadwireguard-openbsd-d0aa150a55039e90a71edb708e9651a38c23a75e.tar.xz
wireguard-openbsd-d0aa150a55039e90a71edb708e9651a38c23a75e.zip
Only allow one arg to `delete' - the mask & gateway aren't necessary.
Delete AF_LINK routes as well as AF_INET. Allow the word `default' as the arg to `delete' or in place of the first two args (dest & netmask) to `add'. Accept INTERFACE as the third arg to `add'. You can now say `add default interface' to create a default route through the tun interface. It's reported that subsequent bind()s will bind to a broadcast address and not to the address currently assigned to the tun device - this is the first step towards supporting that first connection that was around from before the dynamic IP negotiation....
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
0 files changed, 0 insertions, 0 deletions