diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-08-16 19:22:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-16 19:22:23 +0200 |
commit | 8093312a899b898da73c9491d68768a2020332ac (patch) | |
tree | c0ba56bfef28df564f6c74b5368313f2b9fb693c | |
parent | a21669ee5c87425a2eb91631eb00774b30249c8e (diff) | |
parent | 9c9e7618cdc5c293c41cad1a3e4666f98298870f (diff) | |
download | vyos-1x-8093312a899b898da73c9491d68768a2020332ac.tar.gz vyos-1x-8093312a899b898da73c9491d68768a2020332ac.zip |
Merge pull request #1474 from DaniilHarun/current
T4619: Replacing instead of adding a static arp entry
-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: |