Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112553102
D48650.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
466 B
Referenced Files
None
Subscribers
None
D48650.diff
View Options
diff --git a/sys/net/route/route_ctl.c b/sys/net/route/route_ctl.c
--- a/sys/net/route/route_ctl.c
+++ b/sys/net/route/route_ctl.c
@@ -821,7 +821,7 @@
/* Now either append or replace */
if (op_flags & RTM_F_REPLACE) {
- if (nhop_get_prio(rnd_orig.rnd_nhop) > nhop_get_prio(rnd_add->rnd_nhop)) {
+ if (nhop_get_prio(rnd_orig.rnd_nhop) == NH_PRIORITY_HIGH) {
/* Old path is "better" (e.g. has PINNED flag set) */
RIB_WUNLOCK(rnh);
error = EEXIST;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 6:33 PM (21 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16944528
Default Alt Text
D48650.diff (466 B)
Attached To
Mode
D48650: routing: do not allow PINNED routes to be overridden
Attached
Detach File
Event Timeline
Log In to Comment