mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 16:10:46 +01:00
PR: bin/1194: PPP server port not initialized
Latest round of changes omitted initialization of tunnel device unit variable. Submitted by: John Capo <jc@irbs.com>
This commit is contained in:
parent
7bcddb5f0e
commit
61f20a4c29
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15762
@ -17,7 +17,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: os.c,v 1.4 1996/01/11 17:48:55 phk Exp $
|
||||
* $Id: os.c,v 1.5 1996/05/11 20:48:37 phk Exp $
|
||||
*
|
||||
*/
|
||||
#include "fsm.h"
|
||||
@ -285,6 +285,7 @@ int *ptun;
|
||||
fprintf(stderr, "No tunnel device is available.\n");
|
||||
return(-1);
|
||||
}
|
||||
*ptun = unit;
|
||||
|
||||
/*
|
||||
* At first, name the interface.
|
||||
|
Loading…
Reference in New Issue
Block a user