Skip to content

Commit

Permalink
daemon/priv: no need to define IFALIASZ
Browse files Browse the repository at this point in the history
It is part of the shipped kernel header. This is a bit odd we did define
it...
  • Loading branch information
vincentbernat committed Dec 2, 2023
1 parent aa6e929 commit 80d5190
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/daemon/priv-linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 80d5190

Please sign in to comment.