mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
Use the correct path in ipv6mon(8) and ipv6mon.conf(5) Bump PORTREVISION PR: 242414 Submitted by: takefu Approved by: maintainer timeout (hrs, 6 months) MFH: 2020Q2
21 lines
702 B
C
21 lines
702 B
C
--- ipv6mon.c.orig 2012-10-26 09:06:17 UTC
|
|
+++ ipv6mon.c
|
|
@@ -277,7 +277,7 @@ int main(int argc, char **argv){
|
|
}
|
|
|
|
if(!configfile_f){
|
|
- configfile="/etc/ipv6mon.conf";
|
|
+ configfile=IPV6MON_CONF;
|
|
}
|
|
|
|
if(process_config_file(configfile) == -1)
|
|
@@ -888,7 +888,8 @@ void print_help(void){
|
|
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"
|