Bring back ability to use FR support with sppp from Cronyx.

This commit is contained in:
Roman Kurakin 2004-12-14 23:13:08 +00:00
parent b2a2b4810d
commit 64715608d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138873

View File

@ -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)) {