diff --git a/.github/diy/packages/netifd/patches/default-ipv4-netmask-fallback-24.patch b/.github/diy/packages/netifd/patches/default-ipv4-netmask-fallback-24.patch index db297a6d7..677fcbdbc 100644 --- a/.github/diy/packages/netifd/patches/default-ipv4-netmask-fallback-24.patch +++ b/.github/diy/packages/netifd/patches/default-ipv4-netmask-fallback-24.patch @@ -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; }