fixed an error in storing macs with zeroes.
[woller] / woller.h
index 8963279..902866b 100644 (file)
--- a/woller.h
+++ b/woller.h
@@ -142,6 +142,8 @@ private:
 
 
 #define MAX_MAC_LEN 12
+#define MAC_COLON_CNT 5
+#define MAX_MAC_STR_LEN (MAX_MAC_LEN + MAC_COLON_CNT)
 #define MAX_IP_LEN 15