From ae7163c64095eaaff8ed54e27a4d1210f2b90259 Mon Sep 17 00:00:00 2001 From: Ricardo Diaz Date: Thu, 13 May 2021 11:33:29 +0200 Subject: [PATCH] B #-: neigh does not match sudo (#1214) Signed-off-by: Ricardo Diaz --- src/vnm_mad/remotes/elastic/elastic.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vnm_mad/remotes/elastic/elastic.rb b/src/vnm_mad/remotes/elastic/elastic.rb index 1c09b3e175..c3f142c661 100644 --- a/src/vnm_mad/remotes/elastic/elastic.rb +++ b/src/vnm_mad/remotes/elastic/elastic.rb @@ -96,7 +96,7 @@ class ElasticDriver < VNMMAD::VNMDriver next if attach_nic_id && attach_nic_id != nic[:nic_id] cmds.add :ip, "route del #{nic[:ip]}/32 dev #{nic[:bridge]} | true" - cmds.add :ip, "neigh del proxy #{nic[:gateway]} dev #{nic[:bridge]} | true" + cmds.add :ip, "neighbour del proxy #{nic[:gateway]} dev #{nic[:bridge]} | true" provider.deactivate(cmds, nic) if provider.respond_to? :deactivate