diff options
Diffstat (limited to 'extcap/udpdump.c')
-rw-r--r-- | extcap/udpdump.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extcap/udpdump.c b/extcap/udpdump.c index adfa514c69..415fc3d986 100644 --- a/extcap/udpdump.c +++ b/extcap/udpdump.c @@ -351,6 +351,7 @@ int main(int argc, char *argv[]) guint16 port = 0; int ret = EXIT_FAILURE; extcap_parameters* extcap_conf = g_new0(extcap_parameters, 1); + char* help_url; char* help_header = NULL; char* payload = NULL; char* port_msg = NULL; @@ -359,8 +360,10 @@ int main(int argc, char *argv[]) attach_parent_console(); #endif /* _WIN32 */ + help_url = data_file_url("udpdump.html"); extcap_base_set_util_info(extcap_conf, argv[0], UDPDUMP_VERSION_MAJOR, UDPDUMP_VERSION_MINOR,UDPDUMP_VERSION_RELEASE, - data_file_url("udpdump.html")); + help_url); + g_free(help_url); extcap_base_register_interface(extcap_conf, UDPDUMP_EXTCAP_INTERFACE, "UDP Listener remote capture", 252, "Exported PDUs"); help_header = g_strdup_printf( |