From 80d51905e9fa236b0cfb8e5277958b23b3c0fb63 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 2 Dec 2023 22:01:28 +0100 Subject: [PATCH] daemon/priv: no need to define IFALIASZ It is part of the shipped kernel header. This is a bit odd we did define it... --- src/daemon/priv-linux.c | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.39.5