diff options
author | paul <paul> | 2003-04-04 02:44:16 +0000 |
---|---|---|
committer | paul <paul> | 2003-04-04 02:44:16 +0000 |
commit | 020709f9939c542e96b12f06522ad5e33d8cf445 (patch) | |
tree | 767b3cb9a8a17913d8395c8d5ecf7485ae882b8e /lib | |
parent | d18258304a79b459fe768e63f27efd17aa1fa78f (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)); |