[RFC] script for binding ARP <-> IP pairs

Doug Barton dougb at FreeBSD.org
Mon Aug 10 05:35:34 UTC 2009


On Sun, 9 Aug 2009, Xin LI wrote:

> Hi, Doug,
>
> Doug Barton wrote:
>> Xin LI wrote:
>>
>>> Thanks for your comments, I have put together the revised patch, along
>>> with rc.conf.5 and defaults/rc.conf changes.
>>
>> Glad to help. This looks fine except that you need an entry for
>> static_arp_enable in defaults rc.conf and rc.conf.5.
>
> This script does not require the enable knob.  If the static_arp_pairs
> is not empty then the script would add the entries, otherwise it will
> not do that.  Do you think we need an "enable" knob for it?  I can add
> it but I don't feel strongly for the idea, since it would make a
> redundant entry to represent the same semantic.

I missed the fact that you're not using rcvar. I'm sort of ambivalent 
about that, as I prefer things to be consistent, but I'm not actively 
opposed to it. If no one else has an objection go ahead and send it to 
-net.


Doug

-- 

     This .signature sanitized for your protection



More information about the freebsd-rc mailing list