ifconfig: Fix the build

Fix indentation in warn_nomask() while here.

Fixes:	54418f79fd ("ifconfig: switch IPv4/IPv6 address manipulations to Netlink")
This commit is contained in:
Mark Johnston committed 2023-05-22 10:53:38 -04:00
1 parent af15ae9dd1
commit 5b8ce85e1a
1 file changed
+5 -5
+5 -5
View File
@@ -382,12 +382,12 @@ in_setdefaultmask_nl(void)
#endif
static void
warn_nomask(ifflags)
warn_nomask(int ifflags)
{
if ((ifflags & (IFF_POINTOPOINT | IFF_LOOPBACK)) == 0) {
warnx("WARNING: setting interface address without mask "
"is deprecated,\ndefault mask may not be correct.");
}
if ((ifflags & (IFF_POINTOPOINT | IFF_LOOPBACK)) == 0) {
warnx("WARNING: setting interface address without mask "
"is deprecated,\ndefault mask may not be correct.");
}
}
static void