diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-10-13 17:38:23 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-10-13 17:38:23 +0000 |
commit | 05c09d499dff67636c9210066ba518f9d49c2f48 (patch) | |
tree | e6b474c08481f99910868eaa562289f46359f83c /sys/dev/cp | |
parent | 3ad0c4bcd6dd0751a9582c46259e6d72f46fc62c (diff) | |
download | FreeBSD-src-05c09d499dff67636c9210066ba518f9d49c2f48.zip FreeBSD-src-05c09d499dff67636c9210066ba518f9d49c2f48.tar.gz |
Revert r213793.
Diffstat (limited to 'sys/dev/cp')
-rw-r--r-- | sys/dev/cp/if_cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c index 6613fad..e640230 100644 --- a/sys/dev/cp/if_cp.c +++ b/sys/dev/cp/if_cp.c @@ -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)) { |