Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2009 17:57:12 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191006 - head/usr.sbin/ppp
Message-ID:  <200904131757.n3DHvCMA078959@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Mon Apr 13 17:57:12 2009
New Revision: 191006
URL: http://svn.freebsd.org/changeset/base/191006

Log:
  In case the peer address was already configured on the interface
  we were not properly handling proxy arp. Make sure we (try to) add
  the proxy arp entry/entries in this case as well.
  
  PR:		bin/131250
  Submitted by:	loos.br gmail.com (Luiz Otavio O Souza)
  MFC after:	3 days

Modified:
  head/usr.sbin/ppp/iface.c

Modified: head/usr.sbin/ppp/iface.c
==============================================================================
--- head/usr.sbin/ppp/iface.c	Mon Apr 13 16:23:32 2009	(r191005)
+++ head/usr.sbin/ppp/iface.c	Mon Apr 13 17:57:12 2009	(r191006)
@@ -456,6 +456,7 @@ iface_Add(struct iface *iface, struct nc
       if (ncprange_equal(&iface->addr[n].ifa, ifa) &&
           ncpaddr_equal(&iface->addr[n].peer, peer)) {
         close(s);
+        ncp_IfaceAddrAdded(ncp, iface->addr + n);
         return 1;	/* Already there */
       }
 



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