diff options
Diffstat (limited to 'libnet/sample/cdp.c')
-rw-r--r-- | libnet/sample/cdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnet/sample/cdp.c b/libnet/sample/cdp.c index 32ed77d..0869524 100644 --- a/libnet/sample/cdp.c +++ b/libnet/sample/cdp.c @@ -82,7 +82,7 @@ main(int argc, char *argv[]) index += 5; /* this TLV is handled by the libnet builder */ - value = argv[2]; + value = (u_char *)argv[2]; len = strlen(argv[2]); /* build CDP header */ |