]> git.pld-linux.org Git - packages/djbdns.git/commitdiff
- fix for ipv6 enabled log
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 3 May 2005 10:18:50 +0000 (10:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- disable buffering

Changed files:
    djbdns-tinydns-log-ipv6.patch -> 1.1

djbdns-tinydns-log-ipv6.patch [new file with mode: 0644]

diff --git a/djbdns-tinydns-log-ipv6.patch b/djbdns-tinydns-log-ipv6.patch
new file mode 100644 (file)
index 0000000..b05af84
--- /dev/null
@@ -0,0 +1,23 @@
+--- ./tinydns-log~     2005-05-03 13:00:43.000000000 +0300
++++ ./tinydns-log      2005-05-03 13:00:45.000000000 +0300
+@@ -10,7 +10,7 @@
+ # to support axfrdns logs as well as tinydns logs
+ # convert addresses in hex to dotted decimal notation.
+-s/\b([a-f0-9]{8})\b/join(".", unpack("C*", pack("H8", $1)))/eg;
++s/(?:00000000000000000000ffff|\b)([a-f0-9]{8})\b/join(".", unpack("C*", pack("H8", $1)))/eg;
+ ### clean up some messages
+ # convert stuff like 127.0.0.2:0422:05be to something more descriptive.
+--- ./tinydns-log~     2005-05-03 13:12:45.000000000 +0300
++++ ./tinydns-log      2005-05-03 13:12:46.000000000 +0300
+@@ -9,6 +9,9 @@
+ # modified 26-AUG-2002 by Andrew Pam <xanni@sericyb.com.au>
+ # to support axfrdns logs as well as tinydns logs
++# turn off buffering
++$| = 1;
++
+ # convert addresses in hex to dotted decimal notation.
+ s/(?:00000000000000000000ffff|\b)([a-f0-9]{8})\b/join(".", unpack("C*", pack("H8", $1)))/eg;
This page took 0.025365 seconds and 4 git commands to generate.