summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/tools/ipfcomp.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r315368:cy2017-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | calloc() and realloc() modernization. This commit replaces calloc calls, which called calloc() as if it were malloc() by allocating a multiple of objects as a sizeof multiplied by the number of objects. The patch rectifies this by calling calloc() as it was meant to be called. This commit also replaces realloc() with reallocarray() in a similar fashion as above. Instead of calculating the memory to reallocated (changed) by multiplying sizeof by the number of objects, the sizeof and number are passed as separate arguments to reallocarray(), letting reallocarray() do the multiplication instead. Like the calloc() adjustment above, this is approach is cleaner and more elegant than than the previous code. This has been tested on my production firewall and a laptop (also running ipfilter). Submitted by: pfg
* Revert r288682ngie2015-10-051-0/+1374
| | | | | | I meant to do this on ^/user/ngie/more-tests Pointyhat to: ngie (use svn info next time...)
* Remove some paths preparing for a re-copy from headngie2015-10-051-1374/+0
|
* Update ipfilter 4.1.28 --> 5.1.2.cy2013-09-061-63/+77
|\ | | | | | | | | Approved by: glebius (mentor) BSD Licensed by: Darren Reed <darrenr@reed.wattle.id.au> (author)
| * As per the developers handbook (5.3.1 step 1), prepare the vendor trees forcy2013-07-191-1358/+0
| | | | | | | | | | | | | | | | import of new ipfilter vendor sources by flattening them. To keep the tags consistent with dist, the tags are also flattened. Approved by: glebius (Mentor)
| * Import IPFilter 4.1.23 to vendor branch.darrenr2007-06-041-7/+20
| | | | | | | | See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13
| * Import IP Filter 4.1.13guido2006-08-161-2/+2
| |
| * Import IP Filter 4.1.10guido2005-12-301-3/+1
| |
* | Fix a typo that causes the for loop to exit immediately. There'srdivacky2009-06-161-1/+1
| | | | | | | | | | | | | | | | identical loop a few lines above. Reviewed by: sam Approved by: ed (mentor) Silence from: darrenr (maintainer)
* | Merge IPFilter 4.1.23 back to HEADdarrenr2007-06-041-7/+20
| | | | | | | | See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13
* | Resolve conflictsguido2006-08-161-2/+2
| | | | | | | | MFC after: 1 weeks
* | Resolve conflicts (and believe me...you don't want to know).guido2005-12-301-1/+1
| |
* | * Someone imported a lot of files with the wrong CVS tag, so lots of files needdarrenr2005-04-251-1/+1
|/ | | | | that fixed in them.... * Keep unnecessary files out of the non-vendor part of this CVS repository.
* import ipfilter 4.1.8 into the vendor branchdarrenr2005-04-251-0/+1347
OpenPOWER on IntegriCloud