From 59b2022f942dea39cbfde8ec47e7b4ed27f54f0d Mon Sep 17 00:00:00 2001 From: Luiz Otavio O Souza Date: Wed, 15 Aug 2018 15:44:30 +0000 Subject: [PATCH] Late style follow up on r312770. Submitted by: glebius X-MFC with: r312770 MFC after: 3 days --- sys/netinet/in.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/netinet/in.c b/sys/netinet/in.c index 5fc32425d82d..9646f73a2045 100644 --- a/sys/netinet/in.c +++ b/sys/netinet/in.c @@ -620,8 +620,7 @@ in_difaddr_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp, struct thread *td) in_ifadown(&ia->ia_ifa, 1); if (ia->ia_ifa.ifa_carp) - (*carp_detach_p)(&ia->ia_ifa, - (cmd == SIOCDIFADDR) ? false : true); + (*carp_detach_p)(&ia->ia_ifa, cmd == SIOCAIFADDR); /* * If this is the last IPv4 address configured on this