summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mrouted/rsrr.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1998-06-09 05:01:38 +0000
committerimp <imp@FreeBSD.org>1998-06-09 05:01:38 +0000
commit87738602a9bddfd717b3fb188735bbd8b570eee0 (patch)
tree4568fb7b07382b20c9ba6659855622c58fc6859d /usr.sbin/mrouted/rsrr.h
parentd07721cd78a2f86312bc422b1f5bedde80d5aedb (diff)
downloadFreeBSD-src-87738602a9bddfd717b3fb188735bbd8b570eee0.zip
FreeBSD-src-87738602a9bddfd717b3fb188735bbd8b570eee0.tar.gz
use strncpy correctly
use strncat correctly check buffer size in graph_name Change paths from /tmp to /var/run for server sockets This has been building in my tree for ages, but has remained lightly tested. Reviewed by: jkh ages ago
Diffstat (limited to 'usr.sbin/mrouted/rsrr.h')
-rw-r--r--usr.sbin/mrouted/rsrr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/mrouted/rsrr.h b/usr.sbin/mrouted/rsrr.h
index 8bc8c91..c88f8ce 100644
--- a/usr.sbin/mrouted/rsrr.h
+++ b/usr.sbin/mrouted/rsrr.h
@@ -24,9 +24,10 @@
* noted when applicable.
*/
-#define RSRR_SERV_PATH "/tmp/.rsrr_svr"
+#define RSRR_SERV_PATH "/var/run/rsrr_svr"
/* Note this needs to be 14 chars for 4.3 BSD compatibility */
-#define RSRR_CLI_PATH "/tmp/.rsrr_cli"
+/* Note This appears to be unused */
+#define RSRR_CLI_PATH "/var/run/rsrr_cli"
#define RSRR_MAX_LEN 2048
#define RSRR_HEADER_LEN (sizeof(struct rsrr_header))
OpenPOWER on IntegriCloud