aboutgitcodebugslistschat
diff options
context:
space:
mode:
-rw-r--r--conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index 87dec50..2aa0ae3 100644
--- a/conf.c
+++ b/conf.c
@@ -1481,6 +1481,9 @@ void conf(struct ctx *c, int argc, char **argv)
break;
case 'a':
+ if (c->mode == MODE_PASTA)
+ c->no_copy_addrs = 1;
+
if (IN6_IS_ADDR_UNSPECIFIED(&c->ip6.addr) &&
inet_pton(AF_INET6, optarg, &c->ip6.addr) &&
!IN6_IS_ADDR_UNSPECIFIED(&c->ip6.addr) &&