summaryrefslogtreecommitdiffstats
path: root/extensions/.REJECT-test6
blob: 1f09694561a521072067f95c347faed7b2a2b073 (plain)
1
2
3
4
#!/bin/sh
FILE=$KERNEL_DIR/include/linux/netfilter_ipv6/ip6t_REJECT.h
# True if REJECT is applied.
[ -f $FILE ] && grep IP6T_ICMP6_NO_ROUTE 2>&1 >/dev/null $FILE && echo REJECT