forked from osmocom/wireshark
Use tvb_get_string_enc() with an explicit encoding; it's a + or a -, so
just treat it as ASCII. svn path=/trunk/; revision=54896
This commit is contained in:
parent
9ec41e3db2
commit
d262ff8789
|
@ -430,7 +430,7 @@ dissect_snmp_variable_date_and_time(proto_tree *tree,int hfid, tvbuff_t *tvb, in
|
|||
minutes,
|
||||
seconds,
|
||||
deci_seconds,
|
||||
tvb_get_string(wmem_packet_scope(),tvb,offset+8,1),
|
||||
tvb_get_string_enc(wmem_packet_scope(),tvb,offset+8,1,ENC_ASCII|ENC_NA),
|
||||
hour_from_utc,
|
||||
min_from_utc);
|
||||
}else{
|
||||
|
|
|
@ -532,7 +532,7 @@ dissect_snmp_variable_date_and_time(proto_tree *tree,int hfid, tvbuff_t *tvb, in
|
|||
minutes,
|
||||
seconds,
|
||||
deci_seconds,
|
||||
tvb_get_string(wmem_packet_scope(),tvb,offset+8,1),
|
||||
tvb_get_string_enc(wmem_packet_scope(),tvb,offset+8,1,ENC_ASCII|ENC_NA),
|
||||
hour_from_utc,
|
||||
min_from_utc);
|
||||
}else{
|
||||
|
|
Loading…
Reference in New Issue