Add support for IP range drop and make features more modular.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <xdp/utils/helpers.h>
|
||||
#include <xdp/utils/maps.h>
|
||||
|
||||
#if defined(ENABLE_FILTERS) && defined(ENABLE_FILTER_LOGGING)
|
||||
/**
|
||||
* Logs a message to the filter ringbuffer map.
|
||||
*
|
||||
@@ -50,4 +51,5 @@ static __always_inline int LogFilterMsg(struct iphdr* iph, struct ipv6hdr* iph6,
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user