aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ntp.h
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2011-02-09 03:00:51 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2011-02-09 03:00:51 +0000
commit92cd49b4c22920175175184afba3de4998752b26 (patch)
tree3788377094155f4dbd0c41ba29f6eae03c42e0b3 /epan/dissectors/packet-ntp.h
parent5d3a4a06bc1aa95ae3407dfd93532d51cbbe3126 (diff)
Rename ntp_fmt_ts() to tvb_ntp_fmt_ts() and make it take a pointer to a TVB and
an offset instead of (generally) a pointer into the TVB. Then use the standard accessor functions to get data out of the TVB. svn path=/trunk/; revision=35886
Diffstat (limited to 'epan/dissectors/packet-ntp.h')
-rw-r--r--epan/dissectors/packet-ntp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ntp.h b/epan/dissectors/packet-ntp.h
index 6f5bd435d2..8906cca963 100644
--- a/epan/dissectors/packet-ntp.h
+++ b/epan/dissectors/packet-ntp.h
@@ -32,6 +32,6 @@
#define NTP_BASETIME 2208988800ul
#define NTP_TS_SIZE 100
-extern const char * ntp_fmt_ts(const guint8 *reftime);
+extern const char *tvb_ntp_fmt_ts(tvbuff_t *tvb, gint offset);
#endif