static executor: default to metric=1 if not specified
this is needed to override learned routes if a gateway is configured
This commit is contained in:
parent
8fe264a120
commit
dc52642d73
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -z "$IF_METRIC" ] && IF_METRIC="1"
|
||||
[ -n "$IF_VRF_TABLE" ] && VRF_TABLE="table $IF_VRF_TABLE"
|
||||
[ -n "$IF_METRIC" ] && METRIC="metric $IF_METRIC"
|
||||
|
||||
|
|
Loading…
Reference in a new issue