[acassen/keepalived] 0e16c6: Fix compiling without SNMP checker support

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <57a8c558140bd_8d43ff1c88592c022446@hookshot-fe2-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 0e16c6bbd9c3a02a25a06671595c785da6739055
      https://github.com/acassen/keepalived/commit/0e16c6bbd9c3a02a25a06671595c785da6739055
  Author: Quentin Armitage <[email protected]>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M keepalived/check/libipvs.c

  Log Message:
  -----------
  Fix compiling without SNMP checker support

The patchset removing support for Linux 2.4 introduced a problem
compiling libipvs.c when SNMP checker support wasn't enabled.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 584ff2ba2a1f9bf1936537d22bbfa2557881d8a9
      https://github.com/acassen/keepalived/commit/584ff2ba2a1f9bf1936537d22bbfa2557881d8a9
  Author: Quentin Armitage <[email protected]>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M lib/parser.c

  Log Message:
  -----------
  Remove those annoying "unknown keyword" messages

A slight reworking of the parsing code manages to get rid of those
annoying "unknown keyword" messages which we all know are't true.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: f3e92dc432dab66c27925dcb0d4dc68909cab99b
      https://github.com/acassen/keepalived/commit/f3e92dc432dab66c27925dcb0d4dc68909cab99b
  Author: Quentin Armitage <[email protected]>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M keepalived/check/ipvswrapper.c
    M keepalived/include/ipvswrapper.h

  Log Message:
  -----------
  Remove IP_VS_TEMPLATE_TIMEOUT

It was removed from ipvsadm in version 1.0.4.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 7be82f7784382b242e9542c3968176fa40d8c888
      https://github.com/acassen/keepalived/commit/7be82f7784382b242e9542c3968176fa40d8c888
  Author: Quentin Armitage <[email protected]>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M keepalived/include/vrrp_netlink.h

  Log Message:
  -----------
  Remove check for MSG_TRUNC being defined

It has been defined since glibc 2.2.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 3f96b291f3e72e24fca6775225f8d22629585b42
      https://github.com/acassen/keepalived/commit/3f96b291f3e72e24fca6775225f8d22629585b42
  Author: Quentin Armitage <[email protected]>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M keepalived/vrrp/vrrp_if.c

  Log Message:
  -----------
  Remove conditionals based on libc5

libc5 predated glibc 2.0.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 45fc8dc9cc8de381c1b9e2100bfec9f19624b929
      https://github.com/acassen/keepalived/commit/45fc8dc9cc8de381c1b9e2100bfec9f19624b929
  Author: Quentin Armitage <[email protected]>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M keepalived/include/vrrp_if.h
    M keepalived/include/vrrp_iproute.h
    M keepalived/vrrp/vrrp_if.c
    M keepalived/vrrp/vrrp_iproute.c
    M keepalived/vrrp/vrrp_snmp.c

  Log Message:
  -----------
  Remove conditional compilation checks for defines in Linux 2.6

ETHTOOOL_GLINK, RTAX_FEATURES, RTAX_INITRWND, SIOCETHTOOL and SIOCGMIIPHY
are all defined in Linux 2.6, so no longer need to be wrapped in
conditional compilation checks.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 5443a1af142a5782f41b5a24b7940a94e4a74d6e
      https://github.com/acassen/keepalived/commit/5443a1af142a5782f41b5a24b7940a94e4a74d6e
  Author: Quentin Armitage <[email protected]>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M keepalived/check/ipvswrapper.c

  Log Message:
  -----------
  Sort out checks for O_CLOEXEC

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 45e1c41dc8cf18a60a8427b0f5c9d4552539119c
      https://github.com/acassen/keepalived/commit/45e1c41dc8cf18a60a8427b0f5c9d4552539119c
  Author: Quentin Armitage <[email protected]>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M lib/signals.c

  Log Message:
  -----------
  Remove check for SA_RESTART. It existed pre Linux 2.6

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 2ebfb28e756d8254aac9fdd57f351ff9021afd14
      https://github.com/acassen/keepalived/commit/2ebfb28e756d8254aac9fdd57f351ff9021afd14
  Author: Quentin Armitage <[email protected]>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M keepalived/core/global_data.c

  Log Message:
  -----------
  Change reporting of default snmp socket

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: b1b67931811fb9b4003a959e9ae84bebd90bf366
      https://github.com/acassen/keepalived/commit/b1b67931811fb9b4003a959e9ae84bebd90bf366
  Author: Alexandre Cassen <[email protected]>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M keepalived/check/ipvswrapper.c
    M keepalived/check/libipvs.c
    M keepalived/core/global_data.c
    M keepalived/include/ipvswrapper.h
    M keepalived/include/vrrp_if.h
    M keepalived/include/vrrp_iproute.h
    M keepalived/include/vrrp_netlink.h
    M keepalived/vrrp/vrrp_if.c
    M keepalived/vrrp/vrrp_iproute.c
    M keepalived/vrrp/vrrp_snmp.c
    M lib/parser.c
    M lib/signals.c

  Log Message:
  -----------
  Merge pull request #393 from pqarmitage/fixes

More updates for removing pre-Linux 2.6 code, and stop "unknown keyword" messages.


Compare: https://github.com/acassen/keepalived/compare/dbf672f64654...b1b67931811f

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.