diff options
author | Sake Blok <sake@euronet.nl> | 2007-09-25 05:42:22 +0000 |
---|---|---|
committer | Sake Blok <sake@euronet.nl> | 2007-09-25 05:42:22 +0000 |
commit | dc3fcc1c5ba958ebe5b08bbcd92b8704f7798407 (patch) | |
tree | 4546108371a15e6e7833afb0420c3f8ba03ecae6 /wiretap/netscreen.c | |
parent | f7c4b26cb483c94b1c9dd7af4e19844b7a3d1009 (diff) |
Allow the output of NetScreen VSI interfaces to be parsed.
svn path=/trunk/; revision=22947
Diffstat (limited to 'wiretap/netscreen.c')
-rw-r--r-- | wiretap/netscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/netscreen.c b/wiretap/netscreen.c index 8b63a75f53..70023af2b6 100644 --- a/wiretap/netscreen.c +++ b/wiretap/netscreen.c @@ -312,7 +312,7 @@ parse_netscreen_rec_hdr(wtap *wth, const char *line, char *cap_int, gboolean *ca int dsec, pkt_len; char direction[2]; - if (sscanf(line, "%d.%d: %[a-z0-9/](%[io]) len=%d:", + if (sscanf(line, "%d.%d: %[a-z0-9/:](%[io]) len=%d:", &sec, &dsec, cap_int, direction, &pkt_len) != 5) { *err = WTAP_ERR_BAD_RECORD; *err_info = g_strdup("netscreen: Can't parse packet-header"); |