summaryrefslogtreecommitdiff
path: root/PortMapper.c
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2023-05-25 14:17:53 +0100
committerJohn Wiseman <john.wiseman@cantab.net>2023-05-25 14:17:53 +0100
commit4924c1223ef5e47353ef34892b732c2081096427 (patch)
treebfc0e3c6ef678127d747e47431d4054b73ed160d /PortMapper.c
parentac7e6b99beace1e002246436175581d01b02a117 (diff)
6.0.23.7023.71
Diffstat (limited to 'PortMapper.c')
-rw-r--r--PortMapper.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/PortMapper.c b/PortMapper.c
index 65bc269..7ec25fd 100644
--- a/PortMapper.c
+++ b/PortMapper.c
@@ -163,8 +163,6 @@ HWND hIPResWnd = 0;
BOOL IPMinimized;
-extern char * PortConfig[];
-
static int baseline=0;
static unsigned char hostaddr[64];
@@ -1237,7 +1235,7 @@ static BOOL ReadConfigFile()
map_table_len = 0; // For reread
- Config = PortConfig[35]; // Config fnom bpq32.cfg
+ Config = PortConfig[PortMapConfigSlot]; // Config from bpq32.cfg
if (Config)
{