Blame SOURCES/arpwatch-ethernet-address-format.patch

407f12
Originally reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315215.
407f12
407f12
Resolves: #1368523
407f12
407f12
--- arpwatch-2.1a13/ec.c	2000-10-13 22:49:16.000000000 +0000
407f12
+++ arpwatch-2.1a13/ec.c	2005-06-18 07:12:14.131890648 +0000
407f12
@@ -218,7 +218,7 @@
407f12
 {
407f12
 	static char str[32];
407f12
 
407f12
-	(void)sprintf(str, "%x:%x:%x:%x:%x:%x",
407f12
+	(void)sprintf(str, "%.2x:%.2x:%.2x:%.2x:%.2x:%.2x",
407f12
 	    e[0], e[1], e[2], e[3], e[4], e[5]);
407f12
 	return (str);
407f12
 }
407f12
407f12