Change the variable to a #define in order to make gcc happy which

otherwise will complain about "variably modified 'alias' at file scope".
Unbreaks the build on gcc platforms.
This commit is contained in:
Bjoern A. Zeeb 2016-01-22 15:03:22 +00:00
parent afa04e4170
commit 54902c0a6a

View File

@ -58,7 +58,7 @@
#include "mibII_tree.h"
/* maximum size of the interface alias */
static const u_int MIBIF_ALIAS_SIZE = 64 + 1;
#define MIBIF_ALIAS_SIZE (64 + 1)
/*
* Interface list and flags.