summaryrefslogtreecommitdiffstats
path: root/usr.sbin/IPXrouted
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>1999-08-24 13:15:39 +0000
committerjhay <jhay@FreeBSD.org>1999-08-24 13:15:39 +0000
commitc0c53e4632722f32f1b7613235fc58df1ec66f41 (patch)
tree3e320cae9ea3b6f56d26007a1d1c92e9616676fb /usr.sbin/IPXrouted
parent190863bb6dc9192f49bec0625025119bcef3bf89 (diff)
downloadFreeBSD-src-c0c53e4632722f32f1b7613235fc58df1ec66f41.zip
FreeBSD-src-c0c53e4632722f32f1b7613235fc58df1ec66f41.tar.gz
Move ipxrouted.dmp from /tmp to /var/log to make it more difficult to hijack.
PR: 13286
Diffstat (limited to 'usr.sbin/IPXrouted')
-rw-r--r--usr.sbin/IPXrouted/IPXrouted.84
-rw-r--r--usr.sbin/IPXrouted/main.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/IPXrouted/IPXrouted.8 b/usr.sbin/IPXrouted/IPXrouted.8
index 42140a9..1225c97 100644
--- a/usr.sbin/IPXrouted/IPXrouted.8
+++ b/usr.sbin/IPXrouted/IPXrouted.8
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: IPXrouted.8,v 1.5 1999/07/12 20:12:02 nik Exp $
.\"
.Dd Oct 11, 1995
.Dt IPXROUTED 8
@@ -188,7 +188,7 @@ and networks.
If
.Nm IPXrouted
receives a SIGINFO signal the current contents of the RIP and SAP
-tables are appended to the file /tmp/ipxrouted.dmp.
+tables are appended to the file /var/log/ipxrouted.dmp.
.Sh SEE ALSO
.Xr ipx 3
.Sh HISTORY
diff --git a/usr.sbin/IPXrouted/main.c b/usr.sbin/IPXrouted/main.c
index 821e125..70dd513 100644
--- a/usr.sbin/IPXrouted/main.c
+++ b/usr.sbin/IPXrouted/main.c
@@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: main.c,v 1.7 1997/07/06 07:38:30 jhay Exp $
+ * $Id: main.c,v 1.8 1999/04/24 09:18:48 jhay Exp $
*/
#ifndef lint
@@ -388,7 +388,7 @@ getinfo()
{
FILE *fh;
- fh = fopen("/tmp/ipxrouted.dmp", "a");
+ fh = fopen("/var/log/ipxrouted.dmp", "a");
if(fh == NULL)
return;
OpenPOWER on IntegriCloud