]>
git.ipfire.org Git - network.git/blob - test/functions/ip/ip_protocol_is_supported
5 .
${testdir}/constants.sh
9 for proto
in ${IP_TEST_SUPPORTED_PROTOCOLS[@]}; do
10 if ip_protocol_is_supported
${proto}; then
11 echo "OK: IP protocol ${proto} is supported"
13 echo "ERROR: IP protocol ${proto} is not supported"
18 for proto
in ${IP_TEST_UNSUPPORTED_PROTOCOLS[@]}; do
19 if ! ip_protocol_is_supported
${proto}; then
20 echo "OK: IP protocol ${proto} is not supported"
22 echo "ERROR: IP protocol ${proto} is supported"