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 | ab6e2e69287c606f4459c558becc26cea1cabbfc (patch) | |
tree | 9a6f99d4fda4722668656eedc70d1d576d484b28 /target/linux/ramips/base-files | |
parent | 2c05915b2406c3f5a0acca92789cd307edfcd145 (diff) | |
download | upstream-ab6e2e69287c606f4459c558becc26cea1cabbfc.tar.gz upstream-ab6e2e69287c606f4459c558becc26cea1cabbfc.tar.bz2 upstream-ab6e2e69287c606f4459c558becc26cea1cabbfc.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.
SVN-Revision: 34875
Diffstat (limited to 'target/linux/ramips/base-files')
0 files changed, 0 insertions, 0 deletions