kernel-wfp: Don't redefine IPPROTO_IP* if already defined

This commit is contained in:
Tobias Brunner
2017-03-23 18:29:18 +01:00
parent 4c9418ac4d
commit 9d240b0761
@@ -25,8 +25,12 @@
#include <collections/hashtable.h>
#include <processing/jobs/callback_job.h>
#ifndef IPPROTO_IPIP
#define IPPROTO_IPIP 4
#endif
#ifndef IPPROTO_IPV6
#define IPPROTO_IPV6 41
#endif
typedef struct private_kernel_wfp_ipsec_t private_kernel_wfp_ipsec_t;