diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
| commit | 76b5366091f76c9bc73570149ef5055648fc2c39 (patch) | |
| tree | 590d020e0f2a5bea6e09d66d951a674443b21d67 /usr.sbin/ppp/tun.c | |
| parent | 4b4d01da6f07f7754ff6a6e4f5223e9f0984d1a6 (diff) | |
Diffstat (limited to 'usr.sbin/ppp/tun.c')
| -rw-r--r-- | usr.sbin/ppp/tun.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ppp/tun.c b/usr.sbin/ppp/tun.c index 6d97e38c4b75d..c1d021f58a6da 100644 --- a/usr.sbin/ppp/tun.c +++ b/usr.sbin/ppp/tun.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: tun.c,v 1.9 1998/08/09 16:41:01 brian Exp $ + * $Id: tun.c,v 1.8 1998/06/27 14:18:15 brian Exp $ */ #include <sys/types.h> @@ -65,10 +65,9 @@ tun_configure(struct bundle *bundle, int mtu) { struct tuninfo info; - memset(&info, '\0', sizeof info); info.type = IFT_PPP; info.mtu = mtu; - info.baudrate = bundle->ifSpeed; + info.baudrate = bundle->ifp.Speed; #ifdef __OpenBSD__ info.flags = IFF_UP|IFF_POINTOPOINT; #endif |
