mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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:
1 parent
af15ae9dd1
commit
5b8ce85e1a
1 file changed
+5
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user