3f7a31faea
FreeBSD adds a route for point-to-point destination addresses. We don't really want to specify any destination address, but unfortunately we have to. Before we tried to cheat by giving our own address as the destination, but this had the unfortunate effect of preventing loopback from working on our local ip address. We work around this with yet another kludge: we set the destination address to 127.0.0.1. Since 127.0.0.1 is already assigned to an interface, this has the same effect of not specifying a destination address, and therefore we accomplish the intended behavior. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |
||
---|---|---|
.. | ||
completion | ||
man | ||
systemd | ||
wg-quick | ||
config.c | ||
config.h | ||
containers.h | ||
curve25519.c | ||
curve25519.h | ||
encoding.c | ||
encoding.h | ||
genkey.c | ||
INSTALL | ||
ipc.c | ||
ipc.h | ||
Makefile | ||
mnlg.c | ||
mnlg.h | ||
pubkey.c | ||
set.c | ||
setconf.c | ||
show.c | ||
showconf.c | ||
subcommands.h | ||
terminal.c | ||
terminal.h | ||
wg.c |