Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157021532
D12747.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
531 B
Referenced Files
None
Subscribers
None
D12747.diff
View Options
Index: head/sys/net/if.c
===================================================================
--- head/sys/net/if.c
+++ head/sys/net/if.c
@@ -1708,7 +1708,7 @@
bzero(&info, sizeof(info));
if (cmd != RTM_DELETE)
info.rti_ifp = V_loif;
- info.rti_flags = ifa->ifa_flags | RTF_HOST | RTF_STATIC;
+ info.rti_flags = ifa->ifa_flags | RTF_HOST | RTF_STATIC | RTF_PINNED;
info.rti_info[RTAX_DST] = ia;
info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&null_sdl;
link_init_sdl(ifp, (struct sockaddr *)&null_sdl, ifp->if_type);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 19, 12:08 AM (15 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33278469
Default Alt Text
D12747.diff (531 B)
Attached To
Mode
D12747: loopback route needs RTF_PINNED flag
Attached
Detach File
Event Timeline
Log In to Comment