67ceee4079
Fork the package from Alpine and undefine IFA_F_NOPREFIXROUTE during compilation, so it works with the old downstream kernels that do not have this feature yet.
11 lines
305 B
Diff
11 lines
305 B
Diff
--- a/src/if-linux.c
|
|
+++ b/src/if-linux.c
|
|
@@ -97,6 +97,8 @@ int if_getssid_wext(const char *ifname, uint8_t *ssid);
|
|
#define BPF_ETHCOOK -ETH_HLEN
|
|
#define BPF_WHOLEPACKET 0x0fffffff /* work around buggy LPF filters */
|
|
|
|
+#undef IFA_F_NOPREFIXROUTE
|
|
+
|
|
struct priv {
|
|
int route_fd;
|
|
uint32_t route_pid;
|