From 64715608d79ba8e28be8bfa926d7412d6b04ea9d Mon Sep 17 00:00:00 2001 From: Roman Kurakin Date: Tue, 14 Dec 2004 23:13:08 +0000 Subject: [PATCH] Bring back ability to use FR support with sppp from Cronyx. --- sys/dev/cp/if_cp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c index 8c6d747fc3b..2674c90ba39 100644 --- a/sys/dev/cp/if_cp.c +++ b/sys/dev/cp/if_cp.c @@ -1061,7 +1061,7 @@ static int cp_ioctl (struct cdev *dev, u_long cmd, caddr_t data, int flag, struc d->pp.pp_flags &= ~(PP_FR); d->pp.pp_flags |= PP_KEEPALIVE; d->pp.pp_if.if_flags |= PP_CISCO; - } else if (! strcmp ("fr", (char*)data) && !PP_FR) { + } else if (! strcmp ("fr", (char*)data) && PP_FR) { d->pp.pp_if.if_flags &= ~(PP_CISCO); d->pp.pp_flags |= PP_FR | PP_KEEPALIVE; } else if (! strcmp ("ppp", (char*)data)) {