X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=install.sh;h=af9a3ede9c5f7e81bc4dcd6c4e8bad281c86bd46;hb=348583843f9499b0f1c335edc684a077bb2c2710;hp=97df120917ada357672add6216fd7587d595b62d;hpb=d05d679fa4de0002100a7cd806897a2d97d19b5f;p=flowspec-xdp diff --git a/install.sh b/install.sh index 97df120..af9a3ed 100755 --- a/install.sh +++ b/install.sh @@ -1,8 +1,8 @@ #!/bin/bash set -e -RULES="$(birdc show route table flowspec4) -$(birdc show route table flowspec6)" +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