]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Replace `arp` with `ip neigh`
authorTobias Brunner <tobias@strongswan.org>
Wed, 22 Sep 2021 11:46:19 +0000 (13:46 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 1 Oct 2021 13:05:44 +0000 (15:05 +0200)
The net-tools package, which provides arp and other older utilities like
ifconfig, is not installed anymore on Debian bullseye.

testing/tests/ikev2/dhcp-dynamic/posttest.dat
testing/tests/ikev2/dhcp-static-client-id/posttest.dat
testing/tests/ikev2/dhcp-static-mac/posttest.dat
testing/tests/ikev2/farp/pretest.dat

index d258f1e3848716eb076cea74b4bad7cbc49f01b9..5951a694b56c217ccd2d2a9708e814f52c3139bf 100644 (file)
@@ -9,5 +9,5 @@ venus::rm /var/lib/dhcp/dhcpd.leases*; touch /var/lib/dhcp/dhcpd.leases
 moon::iptables-restore < /etc/iptables.flush
 carol::iptables-restore < /etc/iptables.flush
 dave::iptables-restore < /etc/iptables.flush
-alice::arp -d 10.1.0.50
-alice::arp -d 10.1.0.51
+alice::ip neigh del 10.1.0.50 dev eth0
+alice::ip neigh del 10.1.0.51 dev eth0
index 84ee531375095723fd7222c71b51519448a66f26..cd77f5d67eaa605f62fe1703c362a6b468da38cd 100644 (file)
@@ -7,5 +7,5 @@ venus::service isc-dhcp-server stop 2> /dev/null
 moon::iptables-restore < /etc/iptables.flush
 carol::iptables-restore < /etc/iptables.flush
 dave::iptables-restore < /etc/iptables.flush
-alice::arp -d 10.1.0.30
-alice::arp -d 10.1.0.40
+alice::ip neigh del 10.1.0.30 dev eth0
+alice::ip neigh del 10.1.0.40 dev eth0
index 84ee531375095723fd7222c71b51519448a66f26..cd77f5d67eaa605f62fe1703c362a6b468da38cd 100644 (file)
@@ -7,5 +7,5 @@ venus::service isc-dhcp-server stop 2> /dev/null
 moon::iptables-restore < /etc/iptables.flush
 carol::iptables-restore < /etc/iptables.flush
 dave::iptables-restore < /etc/iptables.flush
-alice::arp -d 10.1.0.30
-alice::arp -d 10.1.0.40
+alice::ip neigh del 10.1.0.30 dev eth0
+alice::ip neigh del 10.1.0.40 dev eth0
index 5d467f71f6968b111c7a031dd901e3f8a5003d63..98a58e2d8308e8c827c89b65c1e1246517867854 100755 (executable)
@@ -1,8 +1,8 @@
 moon::iptables-restore < /etc/iptables.rules
 carol::iptables-restore < /etc/iptables.rules
 dave::iptables-restore < /etc/iptables.rules
-alice::arp -d 10.1.0.30
-alice::arp -d 10.1.0.40
+alice::ip neigh del 10.1.0.30 dev eth0
+alice::ip neigh del 10.1.0.40 dev eth0
 moon::systemctl start strongswan
 carol::systemctl start strongswan
 dave::systemctl start strongswan