Deleted Added
full compact
ccp.c (98132) ccp.c (98243)
1/*-
2 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org>
3 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp>
4 * Internet Initiative Japan, Inc (IIJ)
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org>
3 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp>
4 * Internet Initiative Japan, Inc (IIJ)
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $FreeBSD: head/usr.sbin/ppp/ccp.c 98132 2002-06-12 00:33:17Z brian $
28 * $FreeBSD: head/usr.sbin/ppp/ccp.c 98243 2002-06-15 08:03:30Z brian $
29 */
30
31#include <sys/param.h>
32#include <netinet/in.h>
33#include <netinet/in_systm.h>
34#include <netinet/ip.h>
35#include <sys/socket.h>
36#include <sys/un.h>

--- 410 unchanged lines hidden (view full) ---

447 ccp->in.algorithm = -1;
448 }
449 if (ccp->out.state != NULL) {
450 (*algorithm[ccp->out.algorithm]->o.Term)(ccp->out.state);
451 ccp->out.state = NULL;
452 ccp->out.algorithm = -1;
453 }
454 ccp->his_reject = ccp->my_reject = 0;
29 */
30
31#include <sys/param.h>
32#include <netinet/in.h>
33#include <netinet/in_systm.h>
34#include <netinet/ip.h>
35#include <sys/socket.h>
36#include <sys/un.h>

--- 410 unchanged lines hidden (view full) ---

447 ccp->in.algorithm = -1;
448 }
449 if (ccp->out.state != NULL) {
450 (*algorithm[ccp->out.algorithm]->o.Term)(ccp->out.state);
451 ccp->out.state = NULL;
452 ccp->out.algorithm = -1;
453 }
454 ccp->his_reject = ccp->my_reject = 0;
455
455
456 while (ccp->out.opt) {
457 next = ccp->out.opt->next;
458 free(ccp->out.opt);
459 ccp->out.opt = next;
460 }
461 ccp_Setup(ccp);
462}
463

--- 359 unchanged lines hidden ---
456 while (ccp->out.opt) {
457 next = ccp->out.opt->next;
458 free(ccp->out.opt);
459 ccp->out.opt = next;
460 }
461 ccp_Setup(ccp);
462}
463

--- 359 unchanged lines hidden ---