diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-09-24 18:56:05 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-09-24 21:53:25 +0200 |
commit | 09f4553ffdbf3c35696f08118d75793db33cb59b (patch) | |
tree | 8944db754488689314f5cec66cde65aba4de1642 /src/conf_mode/interface-ethernet.py | |
parent | 48e5ad611bc63575eb1150024939d04eb62cf400 (diff) | |
download | vyos-1x-09f4553ffdbf3c35696f08118d75793db33cb59b.tar.gz vyos-1x-09f4553ffdbf3c35696f08118d75793db33cb59b.zip |
Python/ifconfig: T1557: refactor Interface 'arp_cache_tmo' property to set_set_arp_cache_tmo()
Diffstat (limited to 'src/conf_mode/interface-ethernet.py')
-rwxr-xr-x | src/conf_mode/interface-ethernet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interface-ethernet.py b/src/conf_mode/interface-ethernet.py index 02a45408f..cc9f44753 100755 --- a/src/conf_mode/interface-ethernet.py +++ b/src/conf_mode/interface-ethernet.py @@ -282,7 +282,7 @@ def apply(eth): # disable ethernet flow control (pause frames) e.set_flow_control(eth['flow_control']) # configure ARP cache timeout in milliseconds - e.arp_cache_tmo = eth['ip_arp_cache_tmo'] + e.set_arp_cache_tmo(eth['ip_arp_cache_tmo']) # Enable proxy-arp on this interface e.set_proxy_arp(eth['ip_proxy_arp']) # Enable private VLAN proxy ARP on this interface |