From 5877de5587aa39e08b9dda3e0a73f7e391c0d91a Mon Sep 17 00:00:00 2001 From: ragingbulld Date: Sun, 1 Mar 2026 21:35:20 +0800 Subject: [PATCH] NATMap: allow -b 0 to retain port if still available --- src/hev-conf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hev-conf.c b/src/hev-conf.c index 077b984..8185c07 100644 --- a/src/hev-conf.c +++ b/src/hev-conf.c @@ -165,7 +165,9 @@ hev_conf_init (int argc, char *argv[]) } if (!bport[0]) { - bport[0] = 0; + bport[0] = 1; + bport[1] = 65535; + brand = 1; } if (!bport[1]) { bport[1] = bport[0];