diff options
Diffstat (limited to 'extcap/udpdump.c')
-rw-r--r-- | extcap/udpdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/udpdump.c b/extcap/udpdump.c index 10bdacf105..6953f04d93 100644 --- a/extcap/udpdump.c +++ b/extcap/udpdump.c @@ -331,7 +331,7 @@ int main(int argc, char *argv[]) goto end; case OPT_PORT: - if (!ws_strtou16(optarg, &port)) { + if (!ws_strtou16(optarg, NULL, &port)) { g_warning("Invalid port: %s", optarg); goto end; } |