version 1.1.1.4, 2021/03/17 00:39:23
|
version 1.1.1.4.2.1, 2023/09/27 11:08:01
|
Line 186 NatSetCommand(Context ctx, int ac, const char *const a
|
Line 186 NatSetCommand(Context ctx, int ac, const char *const a
|
if (!inet_aton (av[5], &r_addr)) |
if (!inet_aton (av[5], &r_addr)) |
Error("bad remote IP address \"%s\"", av[5]); |
Error("bad remote IP address \"%s\"", av[5]); |
rp = atoi(av[6]); |
rp = atoi(av[6]); |
if (rp <= 0 || rp > 65535) | if (rp < 0 || rp > 65535) |
Error("Incorrect remote port number \"%s\"", av[6]); |
Error("Incorrect remote port number \"%s\"", av[6]); |
} |
} |
/* OK */ |
/* OK */ |