diff options
author | Florian Fainelli <florian@openwrt.org> | 2006-12-27 19:35:13 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2006-12-27 19:35:13 +0000 |
commit | 35f8bb1fb262098dde2b8e1ae67f303583c13839 (patch) | |
tree | fd3402a81e2f7d05af725d01530c5d8017e337c1 /package | |
parent | 78400b97ef594acda2fa5c5edebf23588fb02e8a (diff) | |
download | upstream-35f8bb1fb262098dde2b8e1ae67f303583c13839.tar.gz upstream-35f8bb1fb262098dde2b8e1ae67f303583c13839.tar.bz2 upstream-35f8bb1fb262098dde2b8e1ae67f303583c13839.zip |
Fix the counters bug (#983)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5910 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/switch/src/switch-adm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/switch/src/switch-adm.c b/package/switch/src/switch-adm.c index 718096b026..85805f6b3a 100644 --- a/package/switch/src/switch-adm.c +++ b/package/switch/src/switch-adm.c @@ -223,7 +223,7 @@ static __u32 adm_rreg(__u8 table, __u8 addr) __u8 bits[6] = { 0xFF, 0xFF, 0xFF, 0xFF, (0x06 << 4) | ((table & 0x01) << 3 | (addr&64)>>6), - ((addr&62)<<2) + ((addr&63)<<2) }; __u8 rbits[4]; |