diff options
Diffstat (limited to 'extcap/ciscodump.c')
-rw-r--r-- | extcap/ciscodump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/ciscodump.c b/extcap/ciscodump.c index 23a8d1b35c..5ca4581910 100644 --- a/extcap/ciscodump.c +++ b/extcap/ciscodump.c @@ -228,7 +228,7 @@ static int parse_line(char* packet _U_, unsigned* offset, char* line, int status while(*part) { if (strlen(*part) > 1) { value = (guint32)strtoul(*part, NULL, 16); - value = htonl(value); + value = ntohl(value); size = strlen(*part) / 2; memcpy(packet + *offset, &value, size); *offset += (guint32)size; |