aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-hilscher.c
diff options
context:
space:
mode:
authordimeg <dimeg@f5534014-38df-0310-8fa8-9805f1628bb7>2010-02-04 21:14:53 +0000
committerdimeg <dimeg@f5534014-38df-0310-8fa8-9805f1628bb7>2010-02-04 21:14:53 +0000
commit638ab070306275ef1ee073e33e3a4b4da87535ac (patch)
treea3fa323075e8371d4aa59cd4f41a8fcf042fd660 /epan/dissectors/packet-hilscher.c
parent51137bf2dfab549eeb60a8a2c2886a50dc6d9c9c (diff)
From Holger Pfrommer:
Updated text in packet-hilscher.c https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4462 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31790 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-hilscher.c')
-rw-r--r--epan/dissectors/packet-hilscher.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-hilscher.c b/epan/dissectors/packet-hilscher.c
index d5c17df281..cac5999e72 100644
--- a/epan/dissectors/packet-hilscher.c
+++ b/epan/dissectors/packet-hilscher.c
@@ -82,8 +82,8 @@ static const value_string gpio_number[] = {
};
static const value_string gpio_edge[] = {
- { 0x0, "positive edge" },
- { 0x1, "negative edge" },
+ { 0x0, "rising edge" },
+ { 0x1, "falling edge" },
{ 0, NULL }
};
@@ -113,9 +113,9 @@ dissect_hilscher_netanalyzer(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
gpio_edgex = (tvb_get_guint8(tvb, offset) & 0x01);
if (gpio_edgex == 0x00)
- col_add_fstr(pinfo->cinfo, COL_INFO, "netANALYZER event on GPIO %d (positive edge)", gpio_num);
+ col_add_fstr(pinfo->cinfo, COL_INFO, "netANALYZER event on GPIO %d (rising edge)", gpio_num);
else
- col_add_fstr(pinfo->cinfo, COL_INFO, "netANALYZER event on GPIO %d (negative edge)", gpio_num);
+ col_add_fstr(pinfo->cinfo, COL_INFO, "netANALYZER event on GPIO %d (falling edge)", gpio_num);
}