mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 03:42:52 +08:00
Update default-ipv4-netmask-fallback-24.patch
This commit is contained in:
1 parent
682444dfb2
commit
7efa0d21de
1 file changed
+1
-1
@@ -4,7 +4,7 @@
|
||||
error = "INVALID_NETMASK";
|
||||
goto error;
|
||||
}
|
||||
+ } else if (!strcmp(iface->name, "lan")) {
|
||||
+ } else if (iface && !strncmp(iface->name, "lan", 3)) {
|
||||
+ netmask = 24;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user