diff options
author | Jörg Mayer <jmayer@loplof.de> | 2013-06-19 18:33:49 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2013-06-19 18:33:49 +0000 |
commit | b77119aca7aacc5aac46fedaf42dce169511344e (patch) | |
tree | 4dea9ea5d3ea9a2600a4fe839c8c6df0543acb6b /asn1/snmp/packet-snmp-template.c | |
parent | 95a68da15870409a4c0eb72fcd8a8f7fa1c47ae6 (diff) |
Remove traling whitespace.
svn path=/trunk/; revision=50048
Diffstat (limited to 'asn1/snmp/packet-snmp-template.c')
-rw-r--r-- | asn1/snmp/packet-snmp-template.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asn1/snmp/packet-snmp-template.c b/asn1/snmp/packet-snmp-template.c index e7a2fa6976..bb9d79013d 100644 --- a/asn1/snmp/packet-snmp-template.c +++ b/asn1/snmp/packet-snmp-template.c @@ -1266,7 +1266,7 @@ static void set_ue_keys(snmp_ue_assoc_t* n ) { n->user.authKey.data); if (n->priv_proto == PRIV_AES128 || n->priv_proto == PRIV_AES192 || n->priv_proto == PRIV_AES256) { - guint need_key_len = + guint need_key_len = (n->priv_proto == PRIV_AES128) ? 16 : (n->priv_proto == PRIV_AES192) ? 24 : (n->priv_proto == PRIV_AES256) ? 32 : @@ -2599,10 +2599,10 @@ void proto_reg_handoff_snmp(void) { data_handle = find_dissector("data"); /* SNMPv2-MIB sysDescr "1.3.6.1.2.1.1.1.0" */ - dissector_add_string("snmp.variable_oid", "1.3.6.1.2.1.1.1.0", + dissector_add_string("snmp.variable_oid", "1.3.6.1.2.1.1.1.0", new_create_dissector_handle(dissect_snmp_variable_string, proto_snmp)); /* SNMPv2-MIB::sysName.0 (1.3.6.1.2.1.1.5.0) */ - dissector_add_string("snmp.variable_oid", "1.3.6.1.2.1.1.5.0", + dissector_add_string("snmp.variable_oid", "1.3.6.1.2.1.1.5.0", new_create_dissector_handle(dissect_snmp_variable_string, proto_snmp)); /* |