git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Squelch more const warnings (and fix some memory leaks that found).
[obnox/wireshark/wip.git]
/
tap-bootpstat.c
diff --git
a/tap-bootpstat.c
b/tap-bootpstat.c
index 8063aa39f1d316ffa1d9c3f3ba908ea3efa32e07..a7b08ec0c2f26e4e78d1e43a37e56e50a3b9fdc2 100644
(file)
--- a/
tap-bootpstat.c
+++ b/
tap-bootpstat.c
@@
-136,10
+136,10
@@
dhcpstat_draw(void *psp)
/* When called, this function will create a new instance of tap-boopstat.
*/
static void
/* When called, this function will create a new instance of tap-boopstat.
*/
static void
-dhcpstat_init(char *optarg)
+dhcpstat_init(c
onst c
har *optarg)
{
dhcpstat_t *sp;
{
dhcpstat_t *sp;
- c
har
*filter=NULL;
+ c
onst char
*filter=NULL;
GString *error_string;
if (!strncmp (optarg, "bootp,stat,", 11)){
GString *error_string;
if (!strncmp (optarg, "bootp,stat,", 11)){