fixed warning bug of libnet2