✨ Sync 2026-09-19 17:19:33

This commit is contained in:
github-actions[bot] committed 2026-09-19 17:19:33 +08:00
1 parent ce941525b6
commit 9d99087d48
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;
}