aboutgitcodebugslistschat
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index cd05adf..4755a9f 100644
--- a/conf.c
+++ b/conf.c
@@ -1583,10 +1583,12 @@ void conf(struct ctx *c, int argc, char **argv)
if (inany_v4(&addr)) {
c->ip4.addr = *inany_v4(&addr);
c->ip4.prefix_len = prefix_len - 96;
+ c->ip4.addr_fixed = true;
if (c->mode == MODE_PASTA)
c->ip4.no_copy_addrs = true;
} else {
c->ip6.addr = addr.a6;
+ c->ip6.addr_fixed = true;
if (c->mode == MODE_PASTA)
c->ip6.no_copy_addrs = true;
}