mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 04:42:51 +08:00
✨ Sync 2026-09-19 17:19:33
This commit is contained in:
1 parent
ce941525b6
commit
9d99087d48
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=netifd
|
||||
PKG_RELEASE:=4
|
||||
PKG_RELEASE:=5
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL=$(PROJECT_GIT)/project/netifd.git
|
||||
|
||||
@@ -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