diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-pcap/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/osmo-pcap/common.h b/include/osmo-pcap/common.h index 27fd514..5d977f1 100644 --- a/include/osmo-pcap/common.h +++ b/include/osmo-pcap/common.h @@ -58,4 +58,9 @@ extern const char *osmopcap_copyright; extern int osmopcap_go_parent(struct vty *vty); extern int osmopcap_is_config_node(struct vty *vty, int node); +/* defined in libpcap's pcap-int.h, which is not public */ +#ifndef MAXIMUM_SNAPLEN +#define MAXIMUM_SNAPLEN 262144 +#endif + #endif |