Support ratelimiting communities
[flowspec-xdp] / install.sh
index af9a3ede9c5f7e81bc4dcd6c4e8bad281c86bd46..58ae6709bbdc7a378965c2c33e0a77b634ad9459 100755 (executable)
@@ -5,7 +5,7 @@ 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
-clang -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
+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:"
 ./dropcount.sh || echo "Not loaded"