]> git.proxmox.com Git - mirror_frr.git/commit - lib/agentx.c
smux: remove `tick` argument from smux_trap()
authorVincent Bernat <bernat@luffy.cx>
Thu, 24 May 2012 19:22:01 +0000 (21:22 +0200)
committerVincent Bernat <bernat@luffy.cx>
Mon, 25 Jun 2012 17:03:23 +0000 (19:03 +0200)
commit4b89e45d928d41bb5d32a00ba7b402d6a3bbdf44
tree7471ad396e285ff5b0ca3d85600f3c184f43dd2c
parentd6be5fb9bc41ea77547204eeedd12132b26ad662
smux: remove `tick` argument from smux_trap()

smux_trap() contains an argument whose use appears to be to set
sysUpTime.0/timestamp field in SNMP trap. However, this value is not
used in smux_trap(). Moreover, it is expected that this field is the
value of sysUpTime.0 when the trap was sent and not any other time
related to the trap. To avoid any confusion, we remove this field from
the signature of the function.
bgpd/bgp_snmp.c
lib/agentx.c
lib/smux.c
lib/smux.h
ospfd/ospf_snmp.c