Reported by Tyler Tarabula via e-mail on 2015-02-26:
Hi Jaroslav. Thanks for ipwatchd, it's great. We do some interface renaming in our environment (via udev) and so the 10 char limit for device names isn't quite sufficient for us. I patched ipwatchd.h in our running version of ipwatchd, but I suspect that others might want the same fix.
$ diff -u ipwatchd.h.orig ipwatchd.h
--- ipwatchd.h.orig 2015-02-26 08:55:26.000000000 -0500
+++ ipwatchd.h 2015-02-26 08:55:36.000000000 -0500
@@ -117,7 +117,7 @@
/* Network device information */
//! Size of buffer used for the name of the device
-#define IPWD_MAX_DEVICE_NAME_LEN 10
+#define IPWD_MAX_DEVICE_NAME_LEN 16
//! Size of buffer used for IP and MAC address of the device
#define IPWD_MAX_DEVICE_ADDRESS_LEN 20
Reported by Tyler Tarabula via e-mail on 2015-02-26:
Hi Jaroslav. Thanks for ipwatchd, it's great. We do some interface renaming in our environment (via udev) and so the 10 char limit for device names isn't quite sufficient for us. I patched ipwatchd.h in our running version of ipwatchd, but I suspect that others might want the same fix.