diff options
author | paul <paul> | 2003-04-04 02:35:27 +0000 |
---|---|---|
committer | paul <paul> | 2003-04-04 02:35:27 +0000 |
commit | 81b3c9c636807877beaeed741ab8fef764959ab1 (patch) | |
tree | f79070fc938ed467c7e16f5a5bbd71e4b38f87f7 /lib/smux.c | |
parent | ef43a3dc3618e2e7836a9bf76572a69d94c4b4fe (diff) | |
download | quagga-zebra_org_20030404.tar.bz2 quagga-zebra_org_20030404.tar.xz |
Import of Zebra CVS 20030404-03:35zebra_org_20030404
Diffstat (limited to 'lib/smux.c')
-rw-r--r-- | lib/smux.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -997,7 +997,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]; @@ -1038,7 +1038,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)); |