|
Lines 10-16
Link Here
|
| 10 |
* |
10 |
* |
| 11 |
* See RFCs 2570-2576 for SNMPv3 |
11 |
* See RFCs 2570-2576 for SNMPv3 |
| 12 |
* |
12 |
* |
| 13 |
* $Id: packet-snmp.c,v 1.127 2004/05/29 01:00:59 sahlberg Exp $ |
13 |
* $Id: packet-snmp.c,v 1.128 2004/06/28 22:04:12 gerald Exp $ |
| 14 |
* |
14 |
* |
| 15 |
* Ethereal - Network traffic analyzer |
15 |
* Ethereal - Network traffic analyzer |
| 16 |
* By Gerald Combs <gerald@ethereal.com> |
16 |
* By Gerald Combs <gerald@ethereal.com> |
|
Lines 1703-1708
Link Here
|
| 1703 |
case SNMP_VERSION_2u: |
1703 |
case SNMP_VERSION_2u: |
| 1704 |
ret = asn1_octet_string_decode (&asn1, &community, |
1704 |
ret = asn1_octet_string_decode (&asn1, &community, |
| 1705 |
&community_length, &length); |
1705 |
&community_length, &length); |
|
|
1706 |
if (ret != ASN1_ERR_NOERROR) { |
| 1707 |
dissect_snmp_parse_error(tvb, offset, pinfo, snmp_tree, |
| 1708 |
"community (2u)", ret); |
| 1709 |
return message_length; |
| 1710 |
} |
| 1706 |
if (tree) { |
1711 |
if (tree) { |
| 1707 |
dissect_snmp2u_parameters(snmp_tree, tvb, offset, length, |
1712 |
dissect_snmp2u_parameters(snmp_tree, tvb, offset, length, |
| 1708 |
community, community_length); |
1713 |
community, community_length); |