mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 22:05:13 +08:00
Update default-ipv4-netmask-fallback-24.patch
This commit is contained in:
1 parent
d1cbb03aed
commit
ce941525b6
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