From 3d3aa45033167b300ec81ab4ae7c2819ecac6ab5 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 10 Mar 2016 12:14:23 +0100 Subject: tests/py: add tests for router-advertisement and router-solicitation icmp types Introduced by 039f818fc88010 ("proto: Add router advertisement and solicitation icmp types"). Signed-off-by: Pablo Neira Ayuso --- tests/py/ip/icmp.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/py/ip/icmp.t') diff --git a/tests/py/ip/icmp.t b/tests/py/ip/icmp.t index 02027b0a..a6a4261c 100644 --- a/tests/py/ip/icmp.t +++ b/tests/py/ip/icmp.t @@ -17,7 +17,9 @@ icmp type info-request accept;ok icmp type info-reply accept;ok icmp type address-mask-request accept;ok icmp type address-mask-reply accept;ok -icmp type {echo-reply, destination-unreachable, source-quench, redirect, echo-request, time-exceeded, parameter-problem, timestamp-request, timestamp-reply, info-request, info-reply, address-mask-request, address-mask-reply} accept;ok +icmp type router-advertisement accept;ok +icmp type router-solicitation accept;ok +icmp type {echo-reply, destination-unreachable, source-quench, redirect, echo-request, time-exceeded, parameter-problem, timestamp-request, timestamp-reply, info-request, info-reply, address-mask-request, address-mask-reply, router-advertisement, router-solicitation} accept;ok - icmp type != {echo-reply, destination-unreachable, source-quench};ok # BUG: icmp type != {echo-reply, destination-unreachable, source-quench} # BUG: invalid expression type set -- cgit v1.2.3