Details
Details
- Reviewers
glebius markj zlei - Group Reviewers
network - Commits
- rG759d8a13a3b4: route(8): Show weight of nexthop in multipath routes
Keep route monitor running and make a multipath route.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| sbin/route/route_netlink.c | ||
|---|---|---|
| 475 | I'd recommend updating this comment accordingly. | |
| 490 | The rtnh_weight is defined as unsigned. Certainly a negative weight does not make sense. struct rta_mpath_nh { struct sockaddr *gw; uint32_t ifindex; uint8_t rtnh_flags; uint8_t rtnh_weight; uint32_t rtax_mtu; uint32_t rta_rtflags; uint32_t rta_expire; }; | |