FreeBSD Bugzilla – Attachment 5473 Details for
Bug 13046
[PATCH] ppp don't close session on modem hangup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 794 bytes, created by
Vsevolod Lobko
on 1999-08-09 21:00:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Vsevolod Lobko
Created:
1999-08-09 21:00:03 UTC
Size:
794 bytes
patch
obsolete
>Index: tty.c >=================================================================== >RCS file: /home/free_rep/src/usr.sbin/ppp/tty.c,v >retrieving revision 1.10 >diff -u -r1.10 tty.c >--- tty.c 1999/08/06 20:04:07 1.10 >+++ tty.c 1999/08/09 19:44:06 >@@ -204,8 +204,10 @@ > else > ios.c_cflag |= CLOCAL; > >- if (p->type != PHYS_DEDICATED) >+ if (p->type != PHYS_DEDICATED) { > ios.c_cflag |= HUPCL; >+ ios.c_cflag &= ~CLOCAL; >+ } > > tcsetattr(p->fd, TCSANOW, &ios); > } >@@ -410,8 +412,10 @@ > ios.c_iflag |= IXOFF; > } > ios.c_iflag |= IXON; >- if (p->type != PHYS_DEDICATED) >+ if (p->type != PHYS_DEDICATED) { > ios.c_cflag |= HUPCL; >+ ios.c_cflag &= ~CLOCAL; >+ } > > if (p->type != PHYS_DIRECT) { > /* Change tty speed when we're not in -direct mode */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13046
: 5473