2009-10-20 Till Straumann <strauman@slac.stanford.edu>

* network/tsec.c: Bugfix. Broadcast address was declared
	uint8_t instead of uint8_t [8].
This commit is contained in:
Till Straumann
2009-10-20 17:13:54 +00:00
parent fb557a90c7
commit 1c2ea24536
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2009-10-20 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c: Bugfix. Broadcast address was declared
uint8_t instead of uint8_t [8].
2009-10-13 Till Straumann <strauman@slac.stanford.edu>
PR 1451/bsps

View File

@@ -1454,7 +1454,7 @@ int i;
static void
mcast_filter_prog(struct tsec_private *mp, uint8_t *enaddr, int accept)
{
static const uint8_t bcst={0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
static const uint8_t bcst[6]={0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
if ( ! (enaddr[0] & 0x01) ) {
/* not a multicast address; ignore */
return;