From 9c9e7618cdc5c293c41cad1a3e4666f98298870f Mon Sep 17 00:00:00 2001 From: DaniilHarun Date: Tue, 16 Aug 2022 15:38:57 +0300 Subject: T4619: Replacing instead of adding a static arp entry --- src/conf_mode/arp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.3