mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 03:12:52 +08:00
Delete .github/diy/packages/netifd/patches/default-ipv4-netmask-fallback-24.patch
This commit is contained in:
1 parent
f0e6fe94b7
commit
d8ca41f9bc
1 file changed
-11
@@ -1,11 +0,0 @@
|
||||
--- a/proto.c
|
||||
+++ b/proto.c
|
||||
@@ -426,6 +426,8 @@ proto_apply_static_ip_settings(struct interface *iface, struct blob_attr *attr)
|
||||
error = "INVALID_NETMASK";
|
||||
goto error;
|
||||
}
|
||||
+ } else if (iface && !strncmp(iface->name, "lan", 3)) {
|
||||
+ netmask = 24;
|
||||
}
|
||||
|
||||
if ((cur = tb[OPT_BROADCAST])) {
|
||||
Reference in new issue
Block a user