mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
Add a config.h definition for IPPROTO_IPV4.
Some older systems may only have IPPROTO_IPIP, the same value, but less clear to read.
This commit is contained in:
parent
727b7783f9
commit
f36d96144d
1 changed files with 4 additions and 0 deletions
|
@ -165,6 +165,10 @@
|
||||||
#ifndef HAVE_IPPROTO_IPV6
|
#ifndef HAVE_IPPROTO_IPV6
|
||||||
#define IPPROTO_IPV6 41
|
#define IPPROTO_IPV6 41
|
||||||
#endif
|
#endif
|
||||||
|
#cmakedefine HAVE_IPPROTO_IPV4
|
||||||
|
#ifndef HAVE_IPPROTO_IPV4
|
||||||
|
#define IPPROTO_IPV4 4
|
||||||
|
#endif
|
||||||
#cmakedefine HAVE_IPPROTO_ROUTING
|
#cmakedefine HAVE_IPPROTO_ROUTING
|
||||||
#ifndef HAVE_IPPROTO_ROUTING
|
#ifndef HAVE_IPPROTO_ROUTING
|
||||||
#define IPPROTO_ROUTING 43
|
#define IPPROTO_ROUTING 43
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue