summaryrefslogtreecommitdiff
path: root/interfaces.c
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>1996-01-14 20:16:46 +0000
committerTodd C. Miller <Todd.Miller@courtesan.com>1996-01-14 20:16:46 +0000
commit474cc99587f9da2b1c91eb153c1a86d4d6c7d895 (patch)
tree1212e72a51535154a802256256297a24a6b43195 /interfaces.c
parentfb6bb411ae887c3f86973b6a1cab0d6906adb2cb (diff)
downloadsudo-474cc99587f9da2b1c91eb153c1a86d4d6c7d895.tar.gz
added STUB_LOAD_INTERFACES
++version
Diffstat (limited to 'interfaces.c')
-rw-r--r--interfaces.c8
1 files changed, 4 insertions, 4 deletions
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 */