@@ -9482,6 +9482,36 @@ my %reject_tests = (
94829482 expr => ' protochain 17' ,
94839483 errstr => ' protochain not supported' ,
94849484 },
9485+ protochain_invalid => {
9486+ DLT => ' RAW' ,
9487+ expr => ' protochain nosuchprotocol' ,
9488+ errstr => ' unknown ip proto' ,
9489+ },
9490+ ip_protochain_invalid => {
9491+ DLT => ' RAW' ,
9492+ expr => ' ip protochain nosuchprotocol' ,
9493+ errstr => ' unknown ip proto' ,
9494+ },
9495+ ip6_protochain_invalid => {
9496+ DLT => ' RAW' ,
9497+ expr => ' ip6 protochain nosuchprotocol' ,
9498+ errstr => ' unknown ip proto' ,
9499+ },
9500+ proto_invalid => {
9501+ DLT => ' RAW' ,
9502+ expr => ' proto nosuchprotocol' ,
9503+ errstr => ' unknown ip proto' ,
9504+ },
9505+ ip_proto_invalid => {
9506+ DLT => ' RAW' ,
9507+ expr => ' ip proto nosuchprotocol' ,
9508+ errstr => ' unknown ip proto' ,
9509+ },
9510+ ip6_proto_invalid => {
9511+ DLT => ' RAW' ,
9512+ expr => ' ip6 proto nosuchprotocol' ,
9513+ errstr => ' unknown ip proto' ,
9514+ },
94859515 # In the tests below the hostname normally should not matter because the
94869516 # lookup would be made not in the IPv4/IPv6 space, or not at all. Still
94879517 # use a hostname that does not exist on the Internet, just in case.
0 commit comments