summaryrefslogtreecommitdiff
path: root/net-mgmt/ipv6mon/files/patch-ipv6mon.c
blob: 5e67c75a4b669e9d89b8e4ae92a2c6f08d725ab7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- ipv6mon.c.orig	2012-09-20 13:02:24.000000000 +0900
+++ ipv6mon.c	2012-09-20 13:02:26.000000000 +0900
@@ -277,7 +277,7 @@
 	}
 
 	if(!configfile_f){
-		configfile="/etc/ipv6mon.conf";
+		configfile=IPV6MON_CONF;
 	}
 
 	if(process_config_file(configfile) == -1)
@@ -888,7 +888,8 @@
 	usage();
     
 	puts("\nOPTIONS:\n"
-	     "  --config-file, -c    Configuration file pathname (defaults to '/etc/ipv6mon.conf')\n"
+	     "  --config-file, -c    Configuration file pathname (defaults to '"
+ IPV6MON_CONF "')\n"
 		 "  --show-config, -q    Shows configuration values and quits\n"
 	     "  --help, -h           Print help for the scan6 tool\n"
 	     "  --verbose, -v        Be verbose\n"