diff options
author | Vincent Bernat <bernat@luffy.cx> | 2012-05-24 21:22:01 +0200 |
---|---|---|
committer | Vincent Bernat <bernat@luffy.cx> | 2012-06-25 19:03:23 +0200 |
commit | 4b89e45d928d41bb5d32a00ba7b402d6a3bbdf44 (patch) | |
tree | 7471ad396e285ff5b0ca3d85600f3c184f43dd2c /lib/smux.c | |
parent | agentx: add AgentX support to Quagga. (diff) | |
download | frr-4b89e45d928d41bb5d32a00ba7b402d6a3bbdf44.tar.xz frr-4b89e45d928d41bb5d32a00ba7b402d6a3bbdf44.zip |
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.
Diffstat (limited to 'lib/smux.c')
-rw-r--r-- | lib/smux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smux.c b/lib/smux.c index 29370050f..38c7018e9 100644 --- a/lib/smux.c +++ b/lib/smux.c @@ -972,7 +972,7 @@ int smux_trap (const oid *name, size_t namelen, const oid *iname, size_t inamelen, const struct trap_object *trapobj, size_t trapobjlen, - unsigned int tick, u_char sptrap) + u_char sptrap) { unsigned int i; u_char buf[BUFSIZ]; |