add support for netgear dg834 and the almost identical sphairon jdr454wb: new images...
[openwrt.git] / openwrt / package / l2tpd / patches / 02-debian-2-pty-rev.patch
1 diff -ruN l2tpd-0.70pre-old/l2tpd.c l2tpd-0.70pre-new/l2tpd.c
2 --- l2tpd-0.70pre-old/l2tpd.c 2005-12-16 12:02:02.000000000 +0100
3 +++ l2tpd-0.70pre-new/l2tpd.c 2005-12-16 12:14:24.000000000 +0100
4 @@ -336,17 +336,10 @@
5 tcgetattr (c->fd, &ptyconf);
6 *(c->oldptyconf) = ptyconf;
7 ptyconf.c_cflag &= ~(ICANON | ECHO);
8 - ptyconf.c_lflag &= ~ECHO;
9 tcsetattr (c->fd, TCSANOW, &ptyconf);
10
11 snprintf (tty, sizeof (tty), "/dev/tty%c%c", a, b);
12 fd2 = open (tty, O_RDWR);
13 - if(!fd2)
14 - log(LOG_WARN, "unable to open tty %s", tty);
15 -
16 - /* XXX JEF: CHECK ME */
17 - stropt[pos++] = strdup(tty);
18 - stropt[pos] = NULL;
19
20 #ifdef USE_KERNEL
21 }
This page took 0.047133 seconds and 5 git commands to generate.