HomeFreeBSD

routing: Add tests for metric

Description

routing: Add tests for metric

Add tests to make sure:

  • Default metric is enforced.
  • Lowest metric wins.
  • Deleting routes by specifying gateway/metric works.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D57016

Details

Provenance
pouriaAuthored on May 15 2026, 2:03 PM
Reviewer
markj
Differential Revision
D57016: routing: Add tests for metric
Parents
rG1f03c62e43a0: netstat(1): Show metric value for routes
Branches
Unknown
Tags
Unknown