diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-02-16 22:27:20 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-02-16 22:27:20 +0000 |
commit | 54caf18b8b1b29fed5634a703d6627bffa2b3138 (patch) | |
tree | f41fe79ca749eb8c995f0656c70be4c8a6dfbfaf /security/ipv6toolkit/files/patch-tools-scan6.c | |
parent | Update to 3.25. (diff) |
Update to 1.3.
Diffstat (limited to 'security/ipv6toolkit/files/patch-tools-scan6.c')
-rw-r--r-- | security/ipv6toolkit/files/patch-tools-scan6.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/security/ipv6toolkit/files/patch-tools-scan6.c b/security/ipv6toolkit/files/patch-tools-scan6.c new file mode 100644 index 000000000000..90f299f0b5d1 --- /dev/null +++ b/security/ipv6toolkit/files/patch-tools-scan6.c @@ -0,0 +1,16 @@ +--- tools/scan6.c.orig 2013-02-17 06:55:02.000000000 +0900 ++++ tools/scan6.c 2013-02-17 06:56:04.000000000 +0900 +@@ -969,9 +969,11 @@ + if(!pps_f && !bps_f) + pktinterval= 1000; + +- ++#ifndef IPV6TOOLKITCONF ++#define IPV6TOOLKITCONF "/etc/ipv6toolkit.conf" ++#endif + if(!configfile_f){ +- strncpy(configfile, "/etc/ipv6toolkit.conf", MAX_FILENAME_SIZE); ++ strncpy(configfile, IPV6TOOLKITCONF, MAX_FILENAME_SIZE); + } + + if(tgt_vendor_f){ |