diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2023-06-23 09:52:36 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-06-25 23:49:25 +0200 |
commit | 5b646b9b1051c5aa41e0aeebfd9b6d5be6df614e (patch) | |
tree | fa2a2089de1f85f4747e088ccc598d40b8ec379c /pasta.c | |
parent | d034fb698f2312c02642c539881b1c1e965fc8fe (diff) | |
download | passt-5b646b9b1051c5aa41e0aeebfd9b6d5be6df614e.tar passt-5b646b9b1051c5aa41e0aeebfd9b6d5be6df614e.tar.gz passt-5b646b9b1051c5aa41e0aeebfd9b6d5be6df614e.tar.bz2 passt-5b646b9b1051c5aa41e0aeebfd9b6d5be6df614e.tar.lz passt-5b646b9b1051c5aa41e0aeebfd9b6d5be6df614e.tar.xz passt-5b646b9b1051c5aa41e0aeebfd9b6d5be6df614e.tar.zst passt-5b646b9b1051c5aa41e0aeebfd9b6d5be6df614e.zip |
conf: Accept -a and -g without --config-net in pasta mode
While --no-copy-addrs and --no-copy-routes only make sense with
--config-net, and they are implied on -g and -a, respectively, that
doesn't mean we should refuse -a or -g without --config-net: they are
still relevant for a number of things (including DHCP/DHCPv6/NDP
configuration).
Reported-by: Gianluca Stivan <me@yawnt.com>
Fixes: cc9d16758be6 ("conf, pasta: With --config-net, copy all addresses by default")
Fixes: da54641f140e ("conf, pasta: With --config-net, copy all routes by default")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'pasta.c')
0 files changed, 0 insertions, 0 deletions