diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-10-20 17:13:54 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-10-20 17:13:54 +0000 |
commit | 1c2ea245365580c018b077d6144b602b36211a11 (patch) | |
tree | 0a2fea5b56d40f2aff3e30d646f8cf2df409cbfd | |
parent | 2009-10-16 Jennifer Averett <jennifer@OARcorp.com> (diff) | |
download | rtems-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/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c | 2 |
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; |