From 5e0c75d6098b923b12f3db29485997e649e06b81 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Tue, 22 Feb 2022 18:42:51 +0100 Subject: passt: Drop PASST_LEGACY_NO_OPTIONS sections ...nobody uses those builds anymore. Signed-off-by: Stefano Brivio --- conf.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'conf.c') 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; -- cgit v1.2.3