The branch main has been updated by melifaro:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=454d72ec409830c0de3be79c15ac7503221b66d4

commit 454d72ec409830c0de3be79c15ac7503221b66d4
Author:     Alexander V. Chernikov <melif...@freebsd.org>
AuthorDate: 2023-05-22 15:17:45 +0000
Commit:     Alexander V. Chernikov <melif...@freebsd.org>
CommitDate: 2023-05-22 15:17:45 +0000

    Revert "ifconfig: Fix the build"
    
    This reverts commit 5b8ce85e1a72d2c9541cb344b4e157f38f6a5d6c.
---
 sbin/ifconfig/af_inet.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sbin/ifconfig/af_inet.c b/sbin/ifconfig/af_inet.c
index 53a9595653ba..ab2b01320d04 100644
--- a/sbin/ifconfig/af_inet.c
+++ b/sbin/ifconfig/af_inet.c
@@ -382,12 +382,12 @@ in_setdefaultmask_nl(void)
 #endif
 
 static void
-warn_nomask(int ifflags)
+warn_nomask(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

Reply via email to