summaryrefslogtreecommitdiffstats
path: root/usr.sbin/IPXrouted/input.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1995-11-13 21:01:36 +0000
committerjulian <julian@FreeBSD.org>1995-11-13 21:01:36 +0000
commit446da0733178e92a1f6fae74ce45a9428b6ea86b (patch)
treed30ece84883bd72bc8d22162c3b0f8e77dccef75 /usr.sbin/IPXrouted/input.c
parent4504ec3c14311f3f9d815da137c053f606813e0d (diff)
downloadFreeBSD-src-446da0733178e92a1f6fae74ce45a9428b6ea86b.zip
FreeBSD-src-446da0733178e92a1f6fae74ce45a9428b6ea86b.tar.gz
Submitted by: John Hay <jhay@mikom.csir.co.za>
Here is some patches to IPXrouted. It does the following: Always use the sap port in the destination address of sap broadcasts. Clear the host part of network addresses so that routes will really be deleted in the kernel.
Diffstat (limited to 'usr.sbin/IPXrouted/input.c')
-rw-r--r--usr.sbin/IPXrouted/input.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/IPXrouted/input.c b/usr.sbin/IPXrouted/input.c
index 0aec53a..0c653bb 100644
--- a/usr.sbin/IPXrouted/input.c
+++ b/usr.sbin/IPXrouted/input.c
@@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: input.c,v 1.9 1995/10/11 18:57:17 jhay Exp $
+ * $Id: input.c,v 1.1 1995/10/26 21:28:16 julian Exp $
*/
#ifndef lint
@@ -52,13 +52,11 @@ ipx_nettosa(net)
union ipx_net net;
{
static struct sockaddr_ipx sxn;
- extern char ether_broadcast_addr[6];
bzero(&sxn, sizeof (struct sockaddr_ipx));
sxn.sipx_family = AF_IPX;
sxn.sipx_len = sizeof (sxn);
sxn.sipx_addr.x_net = net;
- sxn.sipx_addr.x_host = *(union ipx_host *)ether_broadcast_addr;
return( (struct sockaddr *)&sxn);
}
OpenPOWER on IntegriCloud