summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpaul <paul>2003-04-04 02:44:16 +0000
committerpaul <paul>2003-04-04 02:44:16 +0000
commit020709f9939c542e96b12f06522ad5e33d8cf445 (patch)
tree767b3cb9a8a17913d8395c8d5ecf7485ae882b8e /lib
parentd18258304a79b459fe768e63f27efd17aa1fa78f (diff)
2003-04-04 Paul Jakma <paul@dishone.st>
* Sync to Zebra CVS * Fix lib/thread.h leak * Fix small Opaque LSA leak * Do not configure OSPF interfaces for secondary addresses * vtysh fixes from Hasso * Dave Watson's missing ntohs fix
Diffstat (limited to 'lib')
-rw-r--r--lib/smux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/smux.c b/lib/smux.c
index 04792926..952c5a81 100644
--- a/lib/smux.c
+++ b/lib/smux.c
@@ -999,7 +999,7 @@ int
smux_trap (oid *name, size_t namelen,
oid *iname, size_t inamelen,
struct trap_object *trapobj, size_t trapobjlen,
- unsigned int tick)
+ unsigned int tick, u_char sptrap)
{
int i;
u_char buf[BUFSIZ];
@@ -1040,7 +1040,7 @@ smux_trap (oid *name, size_t namelen,
&val, sizeof (int));
/* Specific trap integer. */
- val = 2;
+ val = sptrap;
ptr = asn_build_int (ptr, &len,
(u_char)(ASN_UNIVERSAL | ASN_PRIMITIVE | ASN_INTEGER),
&val, sizeof (int));