summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/0027ipv6_maps_ipv4_0
blob: 87603c5e1fa2370e75fdb4ab94ce7823c50c727c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# Tests IPv4 Mapped IPv6 addresses.

set -e

RULESET="
table inet t {
	set s {
		type ipv6_addr
		flags interval
		elements = { ::ffff:0.0.0.0/96 }
	}
}
"

$NFT -f - <<< "$RULESET"