X-Git-Url: https://git.tcpdump.org/libpcap/blobdiff_plain/63acfbbf1ed5a4132273778f00596f7b7539b3f4..9941ee1ef992fef4160c0d726ad525ccac14cae2:/pcap-linux.c diff --git a/pcap-linux.c b/pcap-linux.c index ab136bc4..fc459ece 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -3002,8 +3002,6 @@ prepare_tpacket_socket(pcap_t *handle) return -1; } -#define MAX(a,b) ((a)>(b)?(a):(b)) - /* * Attempt to set up memory-mapped access. * @@ -3123,7 +3121,7 @@ create_ring(pcap_t *handle) if (offload == -1) return PCAP_ERROR; if (offload) - max_frame_len = MAX(mtu, 65535); + max_frame_len = max(mtu, 65535); else max_frame_len = mtu; max_frame_len += 18;