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

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