diff options
author | Brian Somers <brian@FreeBSD.org> | 2000-11-07 04:29:33 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2000-11-07 04:29:33 +0000 |
commit | e1e8b15e7a3c90a2100e4847cc84dfda8458327b (patch) | |
tree | fc35bdfa2f09d8505066d8725f5e39dc4a1ef747 /usr.sbin/ppp/ccp.h | |
parent | d902baa4ba3748d247c7dbd54eb92c4128855dbb (diff) | |
download | src-e1e8b15e7a3c90a2100e4847cc84dfda8458327b.tar.gz src-e1e8b15e7a3c90a2100e4847cc84dfda8458327b.zip |
Pass the correct output options to the ccp output initialisation
routine rather than passing it the first requested output option.
Ensure that options are freed correctly even if we don't reach
TLU.
Notes
Notes:
svn path=/head/; revision=68423
Diffstat (limited to 'usr.sbin/ppp/ccp.h')
-rw-r--r-- | usr.sbin/ppp/ccp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ccp.h b/usr.sbin/ppp/ccp.h index 0dc190198695..442d65feb1b0 100644 --- a/usr.sbin/ppp/ccp.h +++ b/usr.sbin/ppp/ccp.h @@ -82,13 +82,13 @@ struct ccp { struct { int algorithm; /* Algorithm in use */ void *state; /* Returned by implementations Init() */ - struct lcp_opt opt; /* Set by implementations OptInit() */ + struct lcp_opt opt; /* Set by implementation's OptInit() */ } in; struct { int algorithm; /* Algorithm in use */ void *state; /* Returned by implementations Init() */ - struct ccp_opt *opt; /* Set by implementations OptInit() */ + struct ccp_opt *opt; /* Set by implementation's OptInit() */ } out; u_int32_t his_reject; /* Request codes rejected by peer */ |