Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159361401
D56336.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
542 B
Referenced Files
None
Subscribers
None
D56336.diff
View Options
diff --git a/sys/net/route/nhgrp_ctl.c b/sys/net/route/nhgrp_ctl.c
--- a/sys/net/route/nhgrp_ctl.c
+++ b/sys/net/route/nhgrp_ctl.c
@@ -837,7 +837,7 @@
if (nhg_priv == NULL)
return (error);
rnd_new->rnd_nhgrp = nhg_priv->nhg;
- rnd_new->rnd_weight = 0;
+ rnd_new->rnd_weight = nhg_priv->nhg_nh_weights->weight;
return (0);
}
@@ -877,7 +877,7 @@
if (nhg_priv == NULL)
return (error);
rnd_new->rnd_nhgrp = nhg_priv->nhg;
- rnd_new->rnd_weight = 0;
+ rnd_new->rnd_weight = nhg_priv->nhg_nh_weights->weight;
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jun 14, 7:16 AM (14 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31251951
Default Alt Text
D56336.diff (542 B)
Attached To
Mode
D56336: routing: store nhgrp highest weight into rt_entry
Attached
Detach File
Event Timeline
Log In to Comment