aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ipv4.c
AgeCommit message (Collapse)AuthorFilesLines
2010-04-03 From Yaniv Kaul: constify parameterswmeier1-3/+3
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422 From me: Fix a number of instances where the function prototype or the function definition wasn't changed so there was a mismatch thus causing Windows (but not gcc) compilation errors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32365 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-02Revert SVN #32360 until Windows compilation errors corrected.wmeier1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32361 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-02From Yaniv Kaul: constify parameterswmeier1-3/+3
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32360 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-13From Jakub Zawadzki (bug 3331):stig1-2/+1
g_free() is NULL safe, so we don't need check against it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27718 f5534014-38df-0310-8fa8-9805f1628bb7
2007-01-29Fix potential buffer overruns in address_to_str_buf() found by Andrej gerald1-1/+2
Mikus. Add a buf_len parameter to ip_to_str_buf(), and make sure it's enforced. Copy the release notes over from the 0.99.5 trunk and add a note about the ISUP dissector (which is affected by the overrun). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20607 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21name changesahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18197 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-08Coverity CID 103 pointed me to this section of code. The buffergram1-23/+15
overrun that Coverity thought existed does not exist. But I did notice something else: a signed/unsigned disparity between net_bits and new_nmask_bits. So I fixed that, then realized that the function in question, a static function named created_mask, is only used by one other function in the file. So I got ride of create_nmask and moved its logic into the single calling function, ipv4_addr_set_netmask_bits. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17529 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-18Set the svn:eol-style property on all text files to "native", so thatguy1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11400 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-01signed/unsigend warning fixesjmayer1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9931 f5534014-38df-0310-8fa8-9805f1628bb7
2003-08-19Void functions don't return values, even though GCC likes to pretendguy1-2/+2
that they do. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8193 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-31Give FT_IPv4 val_repr_len and val_to_repr methods, and use them forguy1-6/+5
generating display filters from FT_IPv4 fields. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8110 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-28Removed trailing whitespaces from .h and .c files using thejmayer1-4/+4
winapi_cleanup tool written by Patrik Stridvall for the wine project. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6116 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hjmayer1-12/+4
equivalents for the epan/ directory but leave winsock2.h in inet_pton.c and inet_ntop.c for now (can't estimate the consequences). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5928 f5534014-38df-0310-8fa8-9805f1628bb7
2001-11-13Hopefully the last time I have to change my e-mail address.gram1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4199 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-28Simple code movement.gram1-0/+188
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2463 f5534014-38df-0310-8fa8-9805f1628bb7