aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-diameter.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-01-10 19:57:15 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-01-10 19:57:15 +0000
commit496e4be98040bafd86b6450928db73c5b5976a40 (patch)
treeac36077168b73f63e540e9c41621cea7e1537056 /epan/dissectors/packet-diameter.c
parent4e6fe7346bacd4121c3d061ef9b015a96c1a52be (diff)
Handle <application id="4294967295" name="Relay"/>
svn path=/trunk/; revision=16988
Diffstat (limited to 'epan/dissectors/packet-diameter.c')
-rw-r--r--epan/dissectors/packet-diameter.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-diameter.c b/epan/dissectors/packet-diameter.c
index 15e96839a4..f5e0bb3aa5 100644
--- a/epan/dissectors/packet-diameter.c
+++ b/epan/dissectors/packet-diameter.c
@@ -660,7 +660,7 @@ xmlParseCommand(xmlNodePtr cur)
/* This routine adds an application to the name<-> id table */
static int
-dictionaryAddApplication(char *name, int id)
+dictionaryAddApplication(char *name, guint32 id)
{
ApplicationId *entry;
@@ -751,9 +751,8 @@ xmlDictionaryParseSegment(xmlNodePtr cur, int base)
name?name:"NULL", id?id:"NULL");
return -1;
}
-
/* Add the application */
- if (dictionaryAddApplication(name, atol(id)) != 0) {
+ if (dictionaryAddApplication(name, (guint32)atol(id)) != 0) {
/* ERROR! */
return -1;
}