diff --git a/include/tins/offline_packet_filter.h b/include/tins/offline_packet_filter.h index 6c0f099..4c1ce36 100644 --- a/include/tins/offline_packet_filter.h +++ b/include/tins/offline_packet_filter.h @@ -57,7 +57,7 @@ class PDU; * UDP udp = get_packet(); * * // Create the filter. We'll be expecting Ethernet packets. - * OfflinePacketFilter filter("ip and port 80", DataLinkLayer()); + * OfflinePacketFilter filter("ip and port 80", DataLinkType()); * * // We can use this directly over the inner PDU (assuming it has one) * // See the notes on the efficiency of doing it this way.