From: Vincent Bernat Date: Sat, 2 Dec 2023 21:01:28 +0000 (+0100) Subject: daemon/priv: no need to define IFALIASZ X-Git-Tag: 1.0.18~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80d51905e9fa236b0cfb8e5277958b23b3c0fb63;p=thirdparty%2Flldpd.git daemon/priv: no need to define IFALIASZ It is part of the shipped kernel header. This is a bit odd we did define it... --- diff --git a/src/daemon/priv-linux.c b/src/daemon/priv-linux.c index cf2a3208..9a6f90a4 100644 --- a/src/daemon/priv-linux.c +++ b/src/daemon/priv-linux.c @@ -254,9 +254,6 @@ asroot_iface_description_os(const char *name, const char *description) /* We could use netlink but this is a lot to do in a privileged * process. Just write to /sys/class/net/XXXX/ifalias. */ char *file; -#ifndef IFALIASZ -# define IFALIASZ 256 -#endif char descr[IFALIASZ]; FILE *fp; int rc;