Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 14:24:04 +0000
From:      Josef Karthauser <joe@tao.org.uk>
To:        Brian Somers <brian@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/ppp arp.c atm.c iface.c ipcp.c mp.c probe.c route.c server.c tcp.c tun.c udp.c
Message-ID:  <20020116142404.A18298@genius.tao.org.uk>
In-Reply-To: <200201161404.g0GE4g810546@freefall.freebsd.org>; from brian@FreeBSD.org on Wed, Jan 16, 2002 at 06:04:42AM -0800
References:  <200201161404.g0GE4g810546@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This is one mad log message!
Joe

On Wed, Jan 16, 2002 at 06:04:42AM -0800, Brian Somers wrote:
> brian       2002/01/16 06:04:42 PST
>=20
>   Modified files:        (Branch: NETGRAPH)
>     usr.sbin/ppp         arp.c atm.c iface.c ipcp.c mp.c probe.c=20
>                          route.c server.c tcp.c tun.c udp.c=20
>   Log:
>   Index: arp.c
>   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>   RCS file: /home/ncvs/src/usr.sbin/ppp/arp.c,v
>   retrieving revision 1.43
>   diff -u -r1.43 arp.c
>   --- arp.c       16 Jan 2002 13:15:47 -0000      1.43
>   +++ arp.c       16 Jan 2002 13:59:56 -0000
>   @@ -112,7 +112,7 @@
>                  inet_ntoa(addr));
>        return 0;
>      }
>   -  routes =3D ID0socket(AF_ROUTE, SOCK_RAW, AF_INET);
>   +  routes =3D ID0socket(PF_ROUTE, SOCK_RAW, AF_INET);
>      if (routes < 0) {
>        log_Printf(LogERROR, "arp_SetProxy: opening routing socket: %s\n",
>                 strerror(errno));
>   Index: atm.c
>   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>   RCS file: /home/ncvs/src/usr.sbin/ppp/atm.c,v
>   retrieving revision 1.5
>   diff -u -r1.5 atm.c
>   --- atm.c       16 Jan 2002 13:15:47 -0000      1.5
>   +++ atm.c       16 Jan 2002 13:59:56 -0000
>   @@ -184,7 +184,7 @@
>      log_Printf(LogPHASE, "%s: Connecting to %s:%u.%u\n", p->link.name,
>                 iface, vpi, vci);
>  =20
>   -  p->fd =3D socket(AF_NATM, SOCK_DGRAM, PROTO_NATMAAL5);
>   +  p->fd =3D socket(PF_NATM, SOCK_DGRAM, PROTO_NATMAAL5);
>      if (p->fd >=3D 0) {
>        log_Printf(LogDEBUG, "%s: Opened atm socket %s\n", p->link.name,
>                   p->name.full);
>   Index: iface.c
>   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>   RCS file: /home/ncvs/src/usr.sbin/ppp/iface.c,v
>   retrieving revision 1.30
>   diff -u -r1.30 iface.c
>   --- iface.c     30 Nov 2001 14:01:21 -0000      1.30
>   +++ iface.c     16 Jan 2002 13:59:56 -0000
>   @@ -551,7 +551,7 @@
>      struct ifreq ifrq;
>      int s;
>  =20
>   -  s =3D ID0socket(AF_INET, SOCK_DGRAM, 0);
>   +  s =3D ID0socket(PF_INET, SOCK_DGRAM, 0);
>      if (s < 0) {
>        log_Printf(LogERROR, "iface_ChangeFlags: socket: %s\n", strerror(e=
rrno));
>        return 0;
>   Index: ipcp.c
>   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>   RCS file: /home/ncvs/src/usr.sbin/ppp/ipcp.c,v
>   retrieving revision 1.111
>   diff -u -r1.111 ipcp.c
>   --- ipcp.c      16 Aug 2001 02:01:05 -0000      1.111
>   +++ ipcp.c      16 Jan 2002 13:59:56 -0000
>   @@ -616,7 +616,7 @@
>        return 0;
>      }
>  =20
>   -  if ((s =3D ID0socket(AF_INET, SOCK_DGRAM, 0)) =3D=3D -1) {
>   +  if ((s =3D ID0socket(PF_INET, SOCK_DGRAM, 0)) =3D=3D -1) {
>        log_Printf(LogERROR, "ipcp_proxyarp: socket: %s\n",
>                   strerror(errno));
>        return 0;
>   Index: mp.c
>   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>   RCS file: /home/ncvs/src/usr.sbin/ppp/mp.c,v
>   retrieving revision 1.48
>   diff -u -r1.48 mp.c
>   --- mp.c        16 Jan 2002 13:15:47 -0000      1.48
>   +++ mp.c        16 Jan 2002 13:59:56 -0000
>   @@ -1000,7 +1000,7 @@
>          else
>            addr =3D arg->bundle->ncp.ipcp.my_ip;
>  =20
>   -      s =3D ID0socket(AF_INET, SOCK_DGRAM, 0);
>   +      s =3D ID0socket(PF_INET, SOCK_DGRAM, 0);
>          if (s < 0) {
>            log_Printf(LogERROR, "set enddisc: socket(): %s\n", strerror(e=
rrno));
>            return 2;
>   @@ -1137,7 +1137,7 @@
>  =20
>      s->socket.sun_family =3D AF_LOCAL;
>      s->socket.sun_len =3D sizeof s->socket;
>   -  s->fd =3D ID0socket(AF_LOCAL, SOCK_DGRAM, 0);
>   +  s->fd =3D ID0socket(PF_LOCAL, SOCK_DGRAM, 0);
>      if (s->fd < 0) {
>        log_Printf(LogERROR, "mpserver: socket(): %s\n", strerror(errno));
>        return MPSERVER_FAILED;
>   Index: probe.c
>   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>   RCS file: /home/ncvs/src/usr.sbin/ppp/probe.c,v
>   retrieving revision 1.5
>   diff -u -r1.5 probe.c
>   --- probe.c     16 Aug 2001 16:58:12 -0000      1.5
>   +++ probe.c     16 Jan 2002 13:59:56 -0000
>   @@ -56,7 +56,7 @@
>    {
>      int s;
>  =20
>   -  if ((s =3D ID0socket(AF_INET6, SOCK_DGRAM, 0)) =3D=3D -1)
>   +  if ((s =3D ID0socket(PF_INET6, SOCK_DGRAM, 0)) =3D=3D -1)
>        return 0;
>  =20
>      close(s);
>   Index: route.c
>   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>   RCS file: /home/ncvs/src/usr.sbin/ppp/route.c,v
>   retrieving revision 1.84
>   diff -u -r1.84 route.c
>   --- route.c     16 Jan 2002 13:15:47 -0000      1.84
>   +++ route.c     16 Jan 2002 13:59:56 -0000
>   @@ -723,7 +723,7 @@
>        cmdstr =3D (cmd =3D=3D RTM_ADD ? "Add!" : "Delete!");
>      else
>        cmdstr =3D (cmd =3D=3D RTM_ADD ? "Add" : "Delete");
>   -  s =3D ID0socket(AF_ROUTE, SOCK_RAW, 0);
>   +  s =3D ID0socket(PF_ROUTE, SOCK_RAW, 0);
>      if (s < 0) {
>        log_Printf(LogERROR, "rt_Set: socket(): %s\n", strerror(errno));
>        return result;
>   @@ -835,7 +835,7 @@
>      char *p;
>      int s, wb;
>  =20
>   -  s =3D ID0socket(AF_ROUTE, SOCK_RAW, 0);
>   +  s =3D ID0socket(PF_ROUTE, SOCK_RAW, 0);
>      if (s < 0) {
>        log_Printf(LogERROR, "rt_Update: socket(): %s\n", strerror(errno));
>        return;
>   Index: server.c
>   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>   RCS file: /home/ncvs/src/usr.sbin/ppp/server.c,v
>   retrieving revision 1.39
>   diff -u -r1.39 server.c
>   --- server.c    16 Jan 2002 13:15:47 -0000      1.39
>   +++ server.c    16 Jan 2002 13:59:56 -0000
>   @@ -259,7 +259,7 @@
>      ifsun.sun_family =3D AF_LOCAL;
>      strcpy(ifsun.sun_path, name);
>  =20
>   -  s =3D socket(AF_LOCAL, SOCK_STREAM, 0);
>   +  s =3D socket(PF_LOCAL, SOCK_STREAM, 0);
>      if (s < 0) {
>        log_Printf(LogERROR, "Local: socket: %s\n", strerror(errno));
>        goto failed;
>   @@ -328,7 +328,7 @@
>        sin6->sin6_port =3D htons(port);
>        sin6->sin6_len =3D (u_int8_t)sizeof ss;
>        sz =3D sizeof *sin6;
>   -    s =3D socket(AF_INET6, SOCK_STREAM, 0);
>   +    s =3D socket(PF_INET6, SOCK_STREAM, 0);
>      } else
>    #endif
>      {
>   @@ -337,7 +337,7 @@
>        sin->sin_len =3D (u_int8_t)sizeof ss;
>        sin->sin_addr.s_addr =3D INADDR_ANY;
>        sz =3D sizeof *sin;
>   -    s =3D socket(AF_INET, SOCK_STREAM, 0);
>   +    s =3D socket(PF_INET, SOCK_STREAM, 0);
>      }
>  =20
>      if (s < 0) {
>   Index: tcp.c
>   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>   RCS file: /home/ncvs/src/usr.sbin/ppp/tcp.c,v
>   retrieving revision 1.14
>   diff -u -r1.14 tcp.c
>   --- tcp.c       16 Jan 2002 13:15:47 -0000      1.14
>   +++ tcp.c       16 Jan 2002 13:59:56 -0000
>   @@ -84,7 +84,7 @@
>      }
>      log_Printf(LogPHASE, "%s: Connecting to %s:%s/tcp\n", name, host, po=
rt);
>  =20
>   -  sock =3D socket(AF_INET, SOCK_STREAM, 0);
>   +  sock =3D socket(PF_INET, SOCK_STREAM, 0);
>      if (sock < 0)
>        return -2;
>  =20
>   Index: tun.c
>   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>   RCS file: /home/ncvs/src/usr.sbin/ppp/tun.c,v
>   retrieving revision 1.25
>   diff -u -r1.25 tun.c
>   --- tun.c       21 Aug 2001 11:07:58 -0000      1.25
>   +++ tun.c       16 Jan 2002 13:59:56 -0000
>   @@ -88,7 +88,7 @@
>      struct ifreq ifr;
>      int s;
>  =20
>   -  s =3D socket(AF_INET, SOCK_DGRAM, 0);
>   +  s =3D socket(PF_INET, SOCK_DGRAM, 0);
>  =20
>      if (s < 0) {
>        log_Printf(LogERROR, "tun_configure: socket(): %s\n", strerror(err=
no));
>   Index: udp.c
>   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>   RCS file: /home/ncvs/src/usr.sbin/ppp/udp.c,v
>   retrieving revision 1.14
>   diff -u -r1.14 udp.c
>   --- udp.c       16 Jan 2002 13:15:47 -0000      1.14
>   +++ udp.c       16 Jan 2002 13:59:56 -0000
>   @@ -229,7 +229,7 @@
>      log_Printf(LogPHASE, "%s: Connecting to %s:%s/udp\n", p->link.name,
>                 host, port);
>  =20
>   -  p->fd =3D socket(AF_INET, SOCK_DGRAM, 0);
>   +  p->fd =3D socket(PF_INET, SOCK_DGRAM, 0);
>      if (p->fd >=3D 0) {
>        log_Printf(LogDEBUG, "%s: Opened udp socket %s\n", p->link.name,
>                   p->name.full);
>  =20
>   Revision    Changes    Path
>   1.38.2.6    +1 -1      src/usr.sbin/ppp/arp.c
> http://cvsweb.FreeBSD.org/src/usr.sbin/ppp/arp.c.diff?r1=3D1.38.2.5&r2=3D=
1.38.2.6&f=3Dh
> http://localhost/cgi-bin/cvsweb.cgi/src/usr.sbin/ppp/arp.c.diff?r1=3D1.38=
.2.5&r2=3D1.38.2.6&f=3Dh
>   1.2.2.5     +1 -1      src/usr.sbin/ppp/atm.c
> http://cvsweb.FreeBSD.org/src/usr.sbin/ppp/atm.c.diff?r1=3D1.2.2.4&r2=3D1=
.2.2.5&f=3Dh
> http://localhost/cgi-bin/cvsweb.cgi/src/usr.sbin/ppp/atm.c.diff?r1=3D1.2.=
2.4&r2=3D1.2.2.5&f=3Dh
>   1.15.2.16   +1 -1      src/usr.sbin/ppp/iface.c
> http://cvsweb.FreeBSD.org/src/usr.sbin/ppp/iface.c.diff?r1=3D1.15.2.15&r2=
=3D1.15.2.16&f=3Dh
> http://localhost/cgi-bin/cvsweb.cgi/src/usr.sbin/ppp/iface.c.diff?r1=3D1.=
15.2.15&r2=3D1.15.2.16&f=3Dh
>   1.100.2.12  +2 -2      src/usr.sbin/ppp/ipcp.c
> http://cvsweb.FreeBSD.org/src/usr.sbin/ppp/ipcp.c.diff?r1=3D1.100.2.11&r2=
=3D1.100.2.12&f=3Dh
> http://localhost/cgi-bin/cvsweb.cgi/src/usr.sbin/ppp/ipcp.c.diff?r1=3D1.1=
00.2.11&r2=3D1.100.2.12&f=3Dh
>   1.42.2.7    +2 -2      src/usr.sbin/ppp/mp.c
> http://cvsweb.FreeBSD.org/src/usr.sbin/ppp/mp.c.diff?r1=3D1.42.2.6&r2=3D1=
.42.2.7&f=3Dh
> http://localhost/cgi-bin/cvsweb.cgi/src/usr.sbin/ppp/mp.c.diff?r1=3D1.42.=
2.6&r2=3D1.42.2.7&f=3Dh
>   1.3.4.3     +2 -2      src/usr.sbin/ppp/probe.c
> http://cvsweb.FreeBSD.org/src/usr.sbin/ppp/probe.c.diff?r1=3D1.3.4.2&r2=
=3D1.3.4.3&f=3Dh
> http://localhost/cgi-bin/cvsweb.cgi/src/usr.sbin/ppp/probe.c.diff?r1=3D1.=
3.4.2&r2=3D1.3.4.3&f=3Dh
>   1.68.2.16   +2 -2      src/usr.sbin/ppp/route.c
> http://cvsweb.FreeBSD.org/src/usr.sbin/ppp/route.c.diff?r1=3D1.68.2.15&r2=
=3D1.68.2.16&f=3Dh
> http://localhost/cgi-bin/cvsweb.cgi/src/usr.sbin/ppp/route.c.diff?r1=3D1.=
68.2.15&r2=3D1.68.2.16&f=3Dh
>   1.31.2.9    +3 -3      src/usr.sbin/ppp/server.c
> http://cvsweb.FreeBSD.org/src/usr.sbin/ppp/server.c.diff?r1=3D1.31.2.8&r2=
=3D1.31.2.9&f=3Dh
> http://localhost/cgi-bin/cvsweb.cgi/src/usr.sbin/ppp/server.c.diff?r1=3D1=
.31.2.8&r2=3D1.31.2.9&f=3Dh
>   1.11.2.5    +1 -1      src/usr.sbin/ppp/tcp.c
> http://cvsweb.FreeBSD.org/src/usr.sbin/ppp/tcp.c.diff?r1=3D1.11.2.4&r2=3D=
1.11.2.5&f=3Dh
> http://localhost/cgi-bin/cvsweb.cgi/src/usr.sbin/ppp/tcp.c.diff?r1=3D1.11=
.2.4&r2=3D1.11.2.5&f=3Dh
>   1.20.4.6    +2 -2      src/usr.sbin/ppp/tun.c
> http://cvsweb.FreeBSD.org/src/usr.sbin/ppp/tun.c.diff?r1=3D1.20.4.5&r2=3D=
1.20.4.6&f=3Dh
> http://localhost/cgi-bin/cvsweb.cgi/src/usr.sbin/ppp/tun.c.diff?r1=3D1.20=
.4.5&r2=3D1.20.4.6&f=3Dh
>   1.10.4.6    +1 -1      src/usr.sbin/ppp/udp.c
> http://cvsweb.FreeBSD.org/src/usr.sbin/ppp/udp.c.diff?r1=3D1.10.4.5&r2=3D=
1.10.4.6&f=3Dh
> http://localhost/cgi-bin/cvsweb.cgi/src/usr.sbin/ppp/udp.c.diff?r1=3D1.10=
.4.5&r2=3D1.10.4.6&f=3Dh

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjxFjQMACgkQXVIcjOaxUBbQ+QCfUeUfh0YJ/qDyTG1Os088G5+w
HCEAn0B2S/TbkgQucgDYxLb2sjL+PhL3
=sydg
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020116142404.A18298>