aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipdc.c
AgeCommit message (Collapse)AuthorFilesLines
2004-03-21Prefix ENUM types ip IPDC_ in order to prevent type clashes with windowsjmayer1-11/+11
includes (MSVC). Proposed fix by Ulf Lamping. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10427 f5534014-38df-0310-8fa8-9805f1628bb7
2004-03-20"tmp_tag_text" can hold a string of up to 255 characters, which means itguy1-9/+13
needs to be 256 characters long to hold a maximum-length string plus a terminating '\0', as noted by Stefan Esser. Don't bother putting in the null terminator at the end in the case where we're putting an IP address or address/port into "tmp_tag_text" - "sprintf()" does that for you. In the case where it's an IP address and port, do it all in one sprintf call - I don't think there's a guarantee that sprintf(tmp_tag_text, "%s:%u", tmp_tag_text, ...) works, although it could work. Also, handle the case where the length is neither 4 (IP address) nor 6 (IP address/port). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10418 f5534014-38df-0310-8fa8-9805f1628bb7
2004-03-20Updates from Josh Bailey and Ruud Linders.guy1-85/+124
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10412 f5534014-38df-0310-8fa8-9805f1628bb7
2004-03-18From Josh Bailey: IPDC support.guy1-0/+363
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10399 f5534014-38df-0310-8fa8-9805f1628bb7