From 474cc99587f9da2b1c91eb153c1a86d4d6c7d895 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 14 Jan 1996 20:16:46 +0000 Subject: added STUB_LOAD_INTERFACES ++version --- interfaces.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'interfaces.c') diff --git a/interfaces.c b/interfaces.c index 61ebf9946..5d554bcab 100644 --- a/interfaces.c +++ b/interfaces.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.3.8 + * CU sudo version 1.4 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -93,7 +93,7 @@ extern int Argc; extern char **Argv; -#ifdef SIOCGIFCONF +#if defined(SIOCGIFCONF) && !defined(STUB_LOAD_INTERFACES) /********************************************************************** * * load_interfaces() @@ -247,7 +247,7 @@ void load_interfaces() } } -#else /* SIOCGIFCONF */ +#else /* !SIOCGIFCONF || STUB_LOAD_INTERFACES */ /********************************************************************** * @@ -261,4 +261,4 @@ void load_interfaces() return; } -#endif /* SIOCGIFCONF */ +#endif /* SIOCGIFCONF && !STUB_LOAD_INTERFACES */ -- cgit v1.2.1