clean: remove debug print
This commit is contained in:
@@ -74,7 +74,7 @@ void print_recv(const struct setting *settings, const char *packet, const struct
|
||||
const struct icmphdr *icmp_hdr = (const struct icmphdr *) (packet + sizeof(struct iphdr));
|
||||
|
||||
char *ipstr = inet_ntoa(sender->sin_addr);
|
||||
printf("%ld bozo", ntohs(ip_hdr->tot_len) - sizeof(struct iphdr));
|
||||
printf("%ld", ntohs(ip_hdr->tot_len) - sizeof(struct iphdr));
|
||||
printf(" bytes from %s: ", ipstr);
|
||||
printf(get_message_description(icmp_hdr->type, icmp_hdr->code),
|
||||
htons(icmp_hdr->un.echo.sequence),
|
||||
|
||||
Reference in New Issue
Block a user