First check in

This commit is contained in:
2016-11-07 11:57:44 -06:00
commit fe7106dccd
8 changed files with 906 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
diff -Naur a/main.c b/main.c
--- a/main.c 2014-10-04 06:50:46.000000000 -0500
+++ b/main.c 2016-11-06 15:46:07.708000000 -0600
@@ -83,7 +83,7 @@
printf("\t\t\t\t(note that this option doesn't disable mappings)\n");
printf("\t-v, --verbose\t\tprint out what would happen before doing it\n");
printf("\t-o OPTION=VALUE\t\tset OPTION to VALUE as though it were in\n");
- printf("\t\t\t\t/etc/network/interfaces\n");
+ printf("\t\t\t\t/etc/network.conf\n");
printf("\t--no-mappings\t\tdon't run any mappings\n");
printf("\t--no-scripts\t\tdon't run any hook scripts\n");
printf("\t--no-loopback\t\tdon't act specially on the loopback device\n");
@@ -423,7 +423,7 @@
int list = 0;
bool state_query = false;
char *allow_class = NULL;
- char *interfaces = "/etc/network/interfaces";
+ char *interfaces = "/etc/network.conf";
char **excludeint = NULL;
int excludeints = 0;
variable *option = NULL;