summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/os.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-02-22 09:12:36 +0000
committerphk <phk@FreeBSD.org>1997-02-22 09:12:36 +0000
commit5891cb4ba7250f25c5d88b136db1c5e35c3905d0 (patch)
treee0d616e6bb00a78a8a723018e71f9e8b140c9154 /usr.sbin/ppp/os.c
parent67fb7190df2a9136ecaa682b96cc96ba022ce05d (diff)
downloadFreeBSD-src-5891cb4ba7250f25c5d88b136db1c5e35c3905d0.zip
FreeBSD-src-5891cb4ba7250f25c5d88b136db1c5e35c3905d0.tar.gz
Make it possible to substitute INTERFACE when executing commands.
Diffstat (limited to 'usr.sbin/ppp/os.c')
-rw-r--r--usr.sbin/ppp/os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/os.c b/usr.sbin/ppp/os.c
index 950672e..d3defc8 100644
--- a/usr.sbin/ppp/os.c
+++ b/usr.sbin/ppp/os.c
@@ -272,7 +272,7 @@ int *ptun;
{
int s;
char ifname[IFNAMSIZ];
- char devname[14]; /* sufficient room for "/dev/tun65535" */
+ static char devname[14]; /* sufficient room for "/dev/tun65535" */
unsigned unit, enoentcount=0;
for( unit=0; unit <= MAX_TUN ; unit++ ) {
OpenPOWER on IntegriCloud