Revert r213793.
This commit is contained in:
parent
d28843a449
commit
3065282fdb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213795
@ -1313,7 +1313,7 @@ static int ce_ioctl (struct cdev *dev, u_long cmd, caddr_t data, int flag, struc
|
||||
IFP2SP(d->ifp)->pp_flags &= ~(PP_FR);
|
||||
IFP2SP(d->ifp)->pp_flags |= PP_KEEPALIVE;
|
||||
d->ifp->if_flags |= PP_CISCO;
|
||||
} else if (! strcmp ("fr", (char*)data)) {
|
||||
} else if (! strcmp ("fr", (char*)data) && PP_FR) {
|
||||
d->ifp->if_flags &= ~(PP_CISCO);
|
||||
IFP2SP(d->ifp)->pp_flags |= PP_FR | PP_KEEPALIVE;
|
||||
} else if (! strcmp ("ppp", (char*)data)) {
|
||||
|
@ -1052,7 +1052,7 @@ static int cp_ioctl (struct cdev *dev, u_long cmd, caddr_t data, int flag, struc
|
||||
IFP2SP(d->ifp)->pp_flags &= ~(PP_FR);
|
||||
IFP2SP(d->ifp)->pp_flags |= PP_KEEPALIVE;
|
||||
d->ifp->if_flags |= PP_CISCO;
|
||||
} else if (! strcmp ("fr", (char*)data)) {
|
||||
} else if (! strcmp ("fr", (char*)data) && PP_FR) {
|
||||
d->ifp->if_flags &= ~(PP_CISCO);
|
||||
IFP2SP(d->ifp)->pp_flags |= PP_FR | PP_KEEPALIVE;
|
||||
} else if (! strcmp ("ppp", (char*)data)) {
|
||||
|
Loading…
Reference in New Issue
Block a user