elide serial from packet tests

This commit is contained in:
W.C.A. Wijngaards 2014-02-04 11:39:14 +01:00
parent f09f7ea981
commit 1193a3768f
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ checkoutput () {
# filter out TTL and bindata stuff from $1 to $2
filterout () {
sed -e '/"ttl"/d' -e '/"ipv4_address"/d' -e '/"ipv6_address"/d' -e '/"rdata_raw"/d' -e '/<bindata/d' <$1 >$2
sed -e '/"ttl"/d' -e '/"ipv4_address"/d' -e '/"ipv6_address"/d' -e '/"rdata_raw"/d' -e '/<bindata/d' -e '/"serial"/d' <$1 >$2
}
# like checkoutput but removes addresses and TTLs and bindata