diff options
author | brian <brian@FreeBSD.org> | 2004-09-05 12:32:20 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2004-09-05 12:32:20 +0000 |
commit | 6fde2674d9cbbf181205f4fb50ebf719fc69ef01 (patch) | |
tree | de5fc42e398cd77e4f1fcb940e722fd6e52983e2 /usr.sbin/ppp | |
parent | 219a1152719f09f9428fb9dc51bc66fd8944349f (diff) | |
download | FreeBSD-src-6fde2674d9cbbf181205f4fb50ebf719fc69ef01.zip FreeBSD-src-6fde2674d9cbbf181205f4fb50ebf719fc69ef01.tar.gz |
Fix a warning
Submitted by: Stefan Farfeleder <stefanf at FreeBSD dot org>
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/mppe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/mppe.c b/usr.sbin/ppp/mppe.c index ede5bd0..533fdbf 100644 --- a/usr.sbin/ppp/mppe.c +++ b/usr.sbin/ppp/mppe.c @@ -519,7 +519,8 @@ MPPEInitOptsOutput(struct bundle *bundle, struct fsm_opt *o, if (!MPPE_MasterKeyValid) { log_Printf(LogCCP, "MPPE: MasterKey is invalid," " MPPE is available only with CHAP81 authentication\n"); - ua_htonl(0x0, o->data); + mval = 0; + ua_htonl(&mval, o->data); return; } |