summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2009-10-20 17:13:54 +0000
committerTill Straumann <strauman@slac.stanford.edu>2009-10-20 17:13:54 +0000
commit1c2ea245365580c018b077d6144b602b36211a11 (patch)
tree0a2fea5b56d40f2aff3e30d646f8cf2df409cbfd
parent2009-10-16 Jennifer Averett <jennifer@OARcorp.com> (diff)
downloadrtems-1c2ea245365580c018b077d6144b602b36211a11.tar.bz2
2009-10-20 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c: Bugfix. Broadcast address was declared uint8_t instead of uint8_t [8].
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/ChangeLog5
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog b/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog
index 9a864bfd6f..14d1258810 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog
@@ -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
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c b/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c
index 48b45c1550..94e84de7bb 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c
+++ b/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c
@@ -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;