]> git.pld-linux.org Git - packages/djbdns.git/blob - djbdns-tinydns-log-ipv6.patch
- unify %attr() %ghost order
[packages/djbdns.git] / djbdns-tinydns-log-ipv6.patch
1 --- ./tinydns-log~      2005-05-03 13:00:43.000000000 +0300
2 +++ ./tinydns-log       2005-05-03 13:00:45.000000000 +0300
3 @@ -10,7 +10,7 @@
4  # to support axfrdns logs as well as tinydns logs
5  
6  # convert addresses in hex to dotted decimal notation.
7 -s/\b([a-f0-9]{8})\b/join(".", unpack("C*", pack("H8", $1)))/eg;
8 +s/(?:00000000000000000000ffff|\b)([a-f0-9]{8})\b/join(".", unpack("C*", pack("H8", $1)))/eg;
9  
10  ### clean up some messages
11  # convert stuff like 127.0.0.2:0422:05be to something more descriptive.
12 --- ./tinydns-log~      2005-05-03 13:12:45.000000000 +0300
13 +++ ./tinydns-log       2005-05-03 13:12:46.000000000 +0300
14 @@ -9,6 +9,9 @@
15  # modified 26-AUG-2002 by Andrew Pam <xanni@sericyb.com.au>
16  # to support axfrdns logs as well as tinydns logs
17  
18 +# turn off buffering
19 +$| = 1;
20 +
21  # convert addresses in hex to dotted decimal notation.
22  s/(?:00000000000000000000ffff|\b)([a-f0-9]{8})\b/join(".", unpack("C*", pack("H8", $1)))/eg;
23  
This page took 0.032392 seconds and 3 git commands to generate.