aboutgitcodebugslistschat
path: root/conf.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-02-22 18:42:51 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-02-22 18:42:51 +0100
commit5e0c75d6098b923b12f3db29485997e649e06b81 (patch)
tree6b9075967816e39984f9f4ea93ffa98bf690e741 /conf.c
parent337f55166f6db7ee3f6e6e253ce786b3b6606216 (diff)
downloadpasst-5e0c75d6098b923b12f3db29485997e649e06b81.tar
passt-5e0c75d6098b923b12f3db29485997e649e06b81.tar.gz
passt-5e0c75d6098b923b12f3db29485997e649e06b81.tar.bz2
passt-5e0c75d6098b923b12f3db29485997e649e06b81.tar.lz
passt-5e0c75d6098b923b12f3db29485997e649e06b81.tar.xz
passt-5e0c75d6098b923b12f3db29485997e649e06b81.tar.zst
passt-5e0c75d6098b923b12f3db29485997e649e06b81.zip
passt: Drop PASST_LEGACY_NO_OPTIONS sections
...nobody uses those builds anymore. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/conf.c b/conf.c
index 9851575..c8a3693 100644
--- a/conf.c
+++ b/conf.c
@@ -1281,18 +1281,6 @@ void conf(struct ctx *c, int argc, char **argv)
if (!*c->pasta_ifn)
if_indextoname(c->ifi, c->pasta_ifn);
-#ifdef PASST_LEGACY_NO_OPTIONS
- if (c->mode == MODE_PASST) {
- c->foreground = 1;
- c->stderr = 1;
-
- if (!tcp_tap) {
- memset(c->tcp.port_to_tap, 0xff,
- PORT_EPHEMERAL_MIN / 8);
- }
- }
-#endif
-
c->tcp.ns_detect_ports = c->udp.ns_detect_ports = 0;
c->tcp.init_detect_ports = c->udp.init_detect_ports = 0;