summaryrefslogtreecommitdiffstats
path: root/lib/smux.c
diff options
context:
space:
mode:
authorpaul <paul>2003-04-04 02:44:16 +0000
committerpaul <paul>2003-04-04 02:44:16 +0000
commitf4e8df70d4a808ee78daf4ca08d49a305978ae3f (patch)
tree7968f98286a5b90494967970951e31066e95969f /lib/smux.c
parent41c9fb34116d6420ee046c9f759f0225860625de (diff)
downloadquagga-f4e8df70d4a808ee78daf4ca08d49a305978ae3f.tar.bz2
quagga-f4e8df70d4a808ee78daf4ca08d49a305978ae3f.tar.xz
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/smux.c')
-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));