diff options
author | Daniil Baturin <daniil@vyos.io> | 2022-05-09 00:13:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 00:13:59 +0300 |
commit | 84f68455cbe9c41203097829bd649c14093a811f (patch) | |
tree | ed7e287b0d9509fd1c258144f2fb90d73f0d6ce8 /src | |
parent | 56764361d87a0dbc95a336b847273935c6951aec (diff) | |
parent | 0c00e7bf8b6e68814607fde4ff0cd70ce9f4b486 (diff) | |
download | vyos-1x-84f68455cbe9c41203097829bd649c14093a811f.tar.gz vyos-1x-84f68455cbe9c41203097829bd649c14093a811f.zip |
Merge pull request #1313 from dtoubelis/equuleus
T4405: Fix administrative distance of DHCP routes
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/dhcp/dhclient-enter-hooks.d/03-vyos-ipwrapper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/dhcp/dhclient-enter-hooks.d/03-vyos-ipwrapper b/src/etc/dhcp/dhclient-enter-hooks.d/03-vyos-ipwrapper index fc035766b..2bd2d1d22 100644 --- a/src/etc/dhcp/dhclient-enter-hooks.d/03-vyos-ipwrapper +++ b/src/etc/dhcp/dhclient-enter-hooks.d/03-vyos-ipwrapper @@ -23,7 +23,7 @@ function iptovtysh () { local VTYSH_GATEWAY="" local VTYSH_DEV="" local VTYSH_TAG="210" - local VTYSH_DISTANCE="" + local VTYSH_DISTANCE=$IF_METRIC # convert default route to 0.0.0.0/0 if [ "$4" == "default" ] ; then VTYSH_NETADDR="0.0.0.0/0" |