diff options
| author | Jo-Philipp Wich <jow@openwrt.org> | 2012-12-23 22:18:43 +0000 |
|---|---|---|
| committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-12-23 22:18:43 +0000 |
| commit | a6a3bd8d5721c4cff1ec5d1d455f859bb322bc80 (patch) | |
| tree | 59e5202dfc60c257340cb75a39a411d8cf2a9ab7 /target/linux/generic | |
| parent | f19b976355fbf898fe48689bfff8184fc82c8181 (diff) | |
| download | upstream-a6a3bd8d5721c4cff1ec5d1d455f859bb322bc80.tar.gz upstream-a6a3bd8d5721c4cff1ec5d1d455f859bb322bc80.tar.bz2 upstream-a6a3bd8d5721c4cff1ec5d1d455f859bb322bc80.zip | |
base-files: ipcalc.sh: fix broken calculations on 64bit systems
Calculate complements by using awk's xor() function with a mask of 0xffffffff
instead of relying on the compl() function which appears to produce broken
results on certain 64bit architectures.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34875 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
0 files changed, 0 insertions, 0 deletions
