Squelch more const warnings (and fix some memory leaks that found).
[obnox/wireshark/wip.git] / gtk / hostlist_eth.c
index 8a97687401d9a51747d41bca1f5ca76ab9c3bd33..7e61370a42c26c35c7a1b83c02a5485b96228a4e 100644 (file)
@@ -60,7 +60,7 @@ eth_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, cons
 static void
 gtk_eth_hostlist_init(const char *optarg)
 {
-       char *filter=NULL;
+       const char *filter=NULL;
 
        if(!strncmp(optarg,"hosts,eth,",10)){
                filter=optarg+10;