diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-23 22:18:43 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-23 22:18:43 +0000 |
commit | afc4535cfc5d687912501ccf7103ae6975841705 (patch) | |
tree | 59e5202dfc60c257340cb75a39a411d8cf2a9ab7 /include/site/linux-gnu | |
parent | bb460376f5a614f97e4b7d26ea7742f7c123b4c4 (diff) |
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 'include/site/linux-gnu')
0 files changed, 0 insertions, 0 deletions