On Tue, 19 Apr 2005, Jeffrey Layton wrote:

> 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.

I'm not saying the original code works.

I don't think it will work.
Can you test this or should I setup an environment to test it?

> 
> > 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

OK.

It didn't look like it would work to me.
I'll have to look more closely.

Ian

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to