Remove the arithmetic magic in favor of constants or alternatives.

Alon Bar-Lev (4):
  cleanup: avoid using ~0 - generic
  cleanup: avoid using ~0 - ipv6
  cleanup: avoid using ~0 - netmask
  cleanup: avoid using ~0 - windows

 config-msvc.h         |    1 +
 configure.ac          |    2 +-
 src/openvpn/basic.h   |    2 ++
 src/openvpn/mroute.c  |    2 +-
 src/openvpn/pf.c      |    2 +-
 src/openvpn/route.c   |   46 +++++++++++++++++++++++++---------------------
 src/openvpn/route.h   |    2 +-
 src/openvpn/syshead.h |    4 ++++
 src/openvpn/tun.c     |   48 ++++++++++++++++++++++++------------------------
 src/openvpn/tun.h     |    2 ++
 10 files changed, 62 insertions(+), 49 deletions(-)

-- 
1.7.3.4


Reply via email to