diff options
| author | Brian Somers <brian@FreeBSD.org> | 1998-10-31 17:38:48 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1998-10-31 17:38:48 +0000 |
| commit | 9fddf73ad02abd42983850115f2ac3375ed5be6f (patch) | |
| tree | 885707e49057c25d4787094e14ba361109745af7 /usr.sbin/ppp/cbcp.c | |
| parent | 7cf368eb42edc6d7738f431289a1e3e2203421e6 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/ppp/cbcp.c')
| -rw-r--r-- | usr.sbin/ppp/cbcp.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.sbin/ppp/cbcp.c b/usr.sbin/ppp/cbcp.c index 9d01ef5cc392a..415e6e238b2e1 100644 --- a/usr.sbin/ppp/cbcp.c +++ b/usr.sbin/ppp/cbcp.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cbcp.c,v 1.5 1998/10/17 12:28:11 brian Exp $ + * $Id: cbcp.c,v 1.6 1998/10/25 23:35:15 brian Exp $ */ #include <sys/types.h> @@ -354,10 +354,12 @@ cbcp_AdjustResponse(struct cbcp *cbcp, struct cbcp_data *data) switch (data->type) { case CBCP_NONUM: - if (cbcp->fsm.type == CBCP_NONUM) - return 1; - log_Printf(LogPHASE, "CBCP: server wants no callback !\n"); - return 0; + /* + * If the callee offers no callback, we send our desired response + * anyway. This is what Win95 does - although I can't find this + * behaviour documented in the spec.... + */ + return 1; case CBCP_CLIENTNUM: if (cbcp->fsm.type == CBCP_CLIENTNUM) { |
