summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-16 19:22:23 +0200
committerGitHub <noreply@github.com>2022-08-16 19:22:23 +0200
commit8093312a899b898da73c9491d68768a2020332ac (patch)
treec0ba56bfef28df564f6c74b5368313f2b9fb693c /src
parenta21669ee5c87425a2eb91631eb00774b30249c8e (diff)
parent9c9e7618cdc5c293c41cad1a3e4666f98298870f (diff)
downloadvyos-1x-8093312a899b898da73c9491d68768a2020332ac.tar.gz
vyos-1x-8093312a899b898da73c9491d68768a2020332ac.zip
Merge pull request #1474 from DaniilHarun/current
T4619: Replacing instead of adding a static arp entry
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/arp.py2
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: