forked from Imagelibrary/rtems
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:
@@ -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>
|
2009-10-13 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
PR 1451/bsps
|
PR 1451/bsps
|
||||||
|
|||||||
@@ -1454,7 +1454,7 @@ int i;
|
|||||||
static void
|
static void
|
||||||
mcast_filter_prog(struct tsec_private *mp, uint8_t *enaddr, int accept)
|
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) ) {
|
if ( ! (enaddr[0] & 0x01) ) {
|
||||||
/* not a multicast address; ignore */
|
/* not a multicast address; ignore */
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user