mirror of
https://passt.top/passt
synced 2025-06-12 18:45:34 +02:00
conf, ndp: Disable router advertisements on --config-net
If we statically configure a default route, and also advertise it for SLAAC, the kernel will try moments later to add the same route: ICMPv6: RA: ndisc_router_discovery failed to add default route Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
ed58ad1a59
commit
e5bd8dbb24
2 changed files with 6 additions and 1 deletions
3
conf.c
3
conf.c
|
@ -1255,6 +1255,9 @@ void conf(struct ctx *c, int argc, char **argv)
|
|||
usage(argv[0]);
|
||||
}
|
||||
|
||||
if (c->pasta_conf_ns)
|
||||
c->no_ra = 1;
|
||||
|
||||
if (c->mode == MODE_PASTA && c->pasta_netns_fd == -1)
|
||||
pasta_start_ns(c);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue