summaryrefslogtreecommitdiff
path: root/net-mgmt/ipv6mon/files/patch-ipv6mon.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2012-10-02 20:26:17 +0000
committerHiroki Sato <hrs@FreeBSD.org>2012-10-02 20:26:17 +0000
commit6102c7e75b25f2144ba3911489a61955d281d2a4 (patch)
treeba3e0e90e172209df19d0dd5b5ee41b2dcd1da0c /net-mgmt/ipv6mon/files/patch-ipv6mon.c
parent- Reassign to the heap at maintainer's request (diff)
Add net-mgmt/ipv6mon, a tool for monitoring IPv6 address usage on a local
network. WWW: http://www.si6networks.com/tools/ipv6mon/
Diffstat (limited to 'net-mgmt/ipv6mon/files/patch-ipv6mon.c')
-rw-r--r--net-mgmt/ipv6mon/files/patch-ipv6mon.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-mgmt/ipv6mon/files/patch-ipv6mon.c b/net-mgmt/ipv6mon/files/patch-ipv6mon.c
new file mode 100644
index 000000000000..5e67c75a4b66
--- /dev/null
+++ b/net-mgmt/ipv6mon/files/patch-ipv6mon.c
@@ -0,0 +1,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"