On Tue, 2005-04-19 at 12:58, [EMAIL PROTECTED] wrote:
> Does the is_local_addr function work correctly for multi-homed hosts?

I changed the name of the is_local_addr() function to is_bind_addr(),
but otherwise left it more or less untouched. I did this in anticipation
that we will eventually want to make an is_local_addr() function that
does the 'subnet' check that the manpage claims. So, the short answer
is, yes -- it should work for multi-homed hosts since it essentially
does what the original code does here.

> Does the parse_mount_string work for something like:
> "host1 , host2         ,host3,  host4:/this/dir"?

Yes. I've verified that it does. It even works for relatively strange
stuff like:

host1(1),host2:/this/dir host3(5):/that/dir

Unspecified weights get assigned the value 65535.

> 
> Ian
> 

Also, I didn't mention before, but this patch is against a CVS update
from yesterday. I also goofed and left the old $Id$ line in place so
please ignore that again. I fixed that in my tree, so hopefully that
won't be an issue from here on out.

Thanks,
Jeff


_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to