Re: fix empty arpcache bug
Theo Schlossnagle <[email protected]> Sat, 11 Oct 2003 01:55:19 -0400
| Newsgroups | gmane.comp.apache.mod-wackamole.general |
|---|---|
| Message-ID | <[email protected]> |
On Thursday, Oct 2, 2003, at 11:41 US/Eastern, Matthias Weidle wrote: > i've found a little problem in the arpcache code segment: if you > happen to have an empty local arpcache and you try to start wackamole > you won't succeed, because the sample_arp_cache() function is > returning an NULL pointer in that very case. > > please find attached a patch which is fixing the problem mentioned > above. the patch is against wackamole-2.0.0. > > btw: thanks for that great piece of software! This has been applied to head. // Theo Schlossnagle // Principal Engineer -- http://www.omniti.com/~jesus/ // Postal Engine -- http://www.postalengine.com/ // Ecelerity: fastest MTA on earth