Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107508521
D34395.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
610 B
Referenced Files
None
Subscribers
None
D34395.diff
View Options
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -780,9 +780,7 @@
rip_ctlinput(int cmd, struct sockaddr *sa, void *vip)
{
struct in_ifaddr *ia;
- struct ifnet *ifp;
int err;
- int flags;
NET_EPOCH_ASSERT();
@@ -817,12 +815,6 @@
if (ia == NULL || (ia->ia_flags & IFA_ROUTE))
return;
ifa_ref(&ia->ia_ifa);
- flags = RTF_UP;
- ifp = ia->ia_ifa.ifa_ifp;
-
- if ((ifp->if_flags & IFF_LOOPBACK)
- || (ifp->if_flags & IFF_POINTOPOINT))
- flags |= RTF_HOST;
err = ifa_del_loopback_route((struct ifaddr *)ia, sa);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 16, 5:25 AM (19 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15820604
Default Alt Text
D34395.diff (610 B)
Attached To
Mode
D34395: rip: Fix a -Wunused-but-set-variable warning
Attached
Detach File
Event Timeline
Log In to Comment