Changeset 10653 in hybrid for branches/releng-9.0/nanobsd
- Timestamp:
- May 2, 2012, 10:14:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-9.0/nanobsd/files/tools/sync-fib-tables
r10652 r10653 9 9 10 10 # Flush all routes and make sure to re-apply gateway (if existed) 11 gateway=`setfib $DST route -n get default | route -n get default| awk '/gateway:/ {print $2}'`11 gateway=`setfib $DST route -n get default | awk '/gateway:/ {print $2}'` 12 12 setfib $DST route -qn flush 13 13 [ -n "$gateway" ] && setfib $DST route -qn add default $gateway
Note:
See TracChangeset
for help on using the changeset viewer.