diff options
Diffstat (limited to 'epan/dissectors/packet-aprs.c')
-rw-r--r-- | epan/dissectors/packet-aprs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-aprs.c b/epan/dissectors/packet-aprs.c index ad36513527..1b26a15296 100644 --- a/epan/dissectors/packet-aprs.c +++ b/epan/dissectors/packet-aprs.c @@ -997,7 +997,7 @@ dissect_aprs_weather( tvbuff_t *tvb, lr = new_offset - offset; #if 0 /* fcn'al change: defer */ if ( ((lr < 3) || (lr > 5)) || - ( lr != strspn( tvb_get_ephemeral_string( tvb, offset, lr ), "a-zA-Z0-9-_" ) ) ) + ( lr != strspn( tvb_get_string( wmem_packet_scope(), tvb, offset, lr ), "a-zA-Z0-9-_" ) ) ) { new_offset = offset; /* Assume rest is a comment: force exit from while */ break; /* from switch */ @@ -1129,7 +1129,7 @@ aprs_item( proto_tree *aprs_tree, tvbuff_t *tvb, int offset ) data_len = 10; - info_buffer = tvb_get_ephemeral_string( tvb, offset, data_len ); + info_buffer = tvb_get_string( wmem_packet_scope(), tvb, offset, data_len ); ch_ptr = strchr( info_buffer, '!' ); if ( ch_ptr != NULL ) |