Dear diary: an ethernet address with 0x01 set in the first octet

is an ethernet multicast address.  TCP does not like ethernet
multicast addresses.
This commit is contained in:
pooka 2008-10-13 22:05:15 +00:00
parent 68e6aa3a03
commit e6b645ca82
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_virt.c,v 1.1 2008/10/06 00:30:32 pooka Exp $ */
/* $NetBSD: if_virt.c,v 1.2 2008/10/13 22:05:15 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@ -103,7 +103,7 @@ virtif_create(struct ifaliasreq *ia, struct ifnet **ifpp)
struct virtif_sc *sc;
struct ifreq ifr;
struct ifnet *ifp;
uint8_t enaddr[ETHER_ADDR_LEN] = { 0x0b, 0x0a, 0x00, 0x0b, 0x0e, 0x01 };
uint8_t enaddr[ETHER_ADDR_LEN] = { 0xb0, 0x0a, 0x00, 0x0b, 0x0e, 0x01 };
int fd, rv, error;
int mynum;