version 1.1, 2013/07/22 11:54:41
|
version 1.1.1.2, 2023/09/27 11:11:38
|
Line 85 main(int argc, char **argv)
|
Line 85 main(int argc, char **argv)
|
} |
} |
*cp++ = 0; |
*cp++ = 0; |
dst_prt = (u_short)atoi(cp); |
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) |
if (strncmp((char*)&dst_ip,(char*)&in6addr_error,sizeof(in6addr_error))==0) |
{ |
{ |
fprintf(stderr, "Bad IP6 address: %s\n", optarg); |
fprintf(stderr, "Bad IP6 address: %s\n", optarg); |
Line 191 usage(char *nomenclature)
|
Line 191 usage(char *nomenclature)
|
} |
} |
|
|
|
|
/* EOF */ |
|