diff options
author | DaniilHarun <harunaga@harunaga.ru> | 2022-08-16 15:38:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-16 15:38:57 +0300 |
commit | 9c9e7618cdc5c293c41cad1a3e4666f98298870f (patch) | |
tree | c0ba56bfef28df564f6c74b5368313f2b9fb693c /src/conf_mode/arp.py | |
parent | a21669ee5c87425a2eb91631eb00774b30249c8e (diff) | |
download | vyos-1x-9c9e7618cdc5c293c41cad1a3e4666f98298870f.tar.gz vyos-1x-9c9e7618cdc5c293c41cad1a3e4666f98298870f.zip |
T4619: Replacing instead of adding a static arp entry
Diffstat (limited to 'src/conf_mode/arp.py')
-rwxr-xr-x | src/conf_mode/arp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/arp.py b/src/conf_mode/arp.py index 1cd8f5451..7dc5206e0 100755 --- a/src/conf_mode/arp.py +++ b/src/conf_mode/arp.py @@ -61,7 +61,7 @@ def apply(arp): continue for address, address_config in interface_config['address'].items(): mac = address_config['mac'] - call(f'ip neigh add {address} lladdr {mac} dev {interface}') + call(f'ip neigh replace {address} lladdr {mac} dev {interface}') if __name__ == '__main__': try: |