if (ip_header->source_ip == *addressValue or ip_header->source_ip == addr) { printf("\n Source IP: %s", "0.0.0.0"); printf("\n Destination IP: %s", ipDest); } else { printf("\n Source IP: %s", ipSrc); printf("\n Destination IP: %s", ipDest);
if (ip_header->source_ip == *addressValue || addr)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)