diff options
Diffstat (limited to 'libnet/sample/synflood6_frag.c')
-rw-r--r-- | libnet/sample/synflood6_frag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnet/sample/synflood6_frag.c b/libnet/sample/synflood6_frag.c index 0be38ab..3a09c9d 100644 --- a/libnet/sample/synflood6_frag.c +++ b/libnet/sample/synflood6_frag.c @@ -88,7 +88,7 @@ main(int argc, char **argv) } *cp++ = 0; dst_prt = (u_short)atoi(cp); - dst_ip = libnet_name2addr6(l, optarg, 1); + dst_ip = libnet_name2addr6(l, optarg, LIBNET_RESOLVE); if (strncmp((char*)&dst_ip, (char*)&in6addr_error,sizeof(in6addr_error))==0) { |