]> git.bitcoin.ninja Git - flowspec-xdp/commitdiff
Default to parse-options because some people like `ping -R`
authorMatt Corallo <git@bluematt.me>
Fri, 9 Apr 2021 16:48:59 +0000 (12:48 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 9 Apr 2021 16:48:59 +0000 (12:48 -0400)
install.sh

index 58ae6709bbdc7a378965c2c33e0a77b634ad9459..66ea534e0e9c41e64b87f00df40f7e0fc77ad691 100755 (executable)
@@ -4,7 +4,7 @@ set -e
 RULES="$(birdc show route table flowspec4 primary all)
 $(birdc show route table flowspec6 primary all)"
 
-echo "$RULES" | ./genrules.py --8021q=drop-vlan --v6frag=ignore-parse-if-rule --ihl=drop-options
+echo "$RULES" | ./genrules.py --8021q=drop-vlan --v6frag=ignore-parse-if-rule --ihl=parse-options
 clang -g -std=c99 -pedantic -Wall -Wextra -Wno-pointer-arith -Wno-unused-variable -O3 -emit-llvm -c xdp.c -o - | llc -O3 -march=bpf -filetype=obj -o xdp
 
 echo "Before unload drop count was:"