diff options
author | Gilles Espinasse <g.esp@free.fr> | 2013-03-30 11:34:03 +0100 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2013-04-09 15:14:45 -0700 |
commit | 1ee5e667835ed63ab021153162b6a045844cd317 (patch) | |
tree | 1b16095f8826074cff5e310510b8e3c0ec78f575 /libnet/sample/synflood6_frag.c | |
parent | 6156c97ad50d41fd6a80675d5f746eada592e101 (diff) | |
download | libnet-1ee5e667835ed63ab021153162b6a045844cd317.tar.gz |
libnet: use LIBNET_*RESOLVE const in libnet_name2addr*
and fix tab vs space issue in that changed line
Signed-off-by: Gilles Espinasse <g.esp@free.fr>
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) { |