GNOME Bugzilla – Bug 727615
cli: don't require a next-hop for routes
Last modified: 2014-06-11 08:31:53 UTC
This prevents adding device routes, which I think should be allowed. The editor doesn't require a next-hop either. I think any of these should work: set ipv4.routes 1.2.3.0/24 set ipv4.routes 1.2.3.0/24 10 set ipv4.routes 1.2.3.0/24 1.2.3.1 10 thoughts?
Yeah, it should be done. Patches for both IPv4 and IPv6 are in jk/cli-routes-bgo727615 branch.
Looks good to me. Seems to work well in some light testing.
LGTM too
Commits in master: e70d557 cli: don't accept prefix 0 for routes 4e9fc8a cli: don't accept default route entries, NM handles the default route itself 700f5ec cli: allow missing next hop for routes (bgo #727615) Also cherry-picked to nm-0-9-10.