added STUB_LOAD_INTERFACES
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 14 Jan 1996 20:16:46 +0000 (20:16 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 14 Jan 1996 20:16:46 +0000 (20:16 +0000)
++version

interfaces.c

index 61ebf994658e8d8a674d9017d3ac2878efd52442..5d554bcabe2e18c3d414fd7809ce1af257e877d7 100644 (file)
@@ -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 */