[Asterisk-bsd] ast_lookup_iface in acl.c
    Olle E. Johansson 
    oej at edvina.net
       
    Mon Nov 15 00:20:17 CST 2004
    
    
  
Dr. Rich Murphey wrote:
> It looks like ast_ouraddrfor() doesn't call ast_lookup_iface() on 
> FreeBSD, but rather searches through the routing tables.
> 
> Even so, here's a patch that to ast_lookup_iface() that searches through 
> a list of interface/name/address bindings.  As it stands, it still 
> returns the first match, which won't help for aliased interfaces, since 
> on FreeBSD the alias doesn't have a separate interface name.
> 
> http://www.whiteoaklabs.com/acl.c.freebsd.dif.txt
> 
> I think this doesn't fix what you're describing, but I'm not certain 
> what the nature of the failure is.
> 
THank you!
I see now that I have to add an enumeration in order
to find the alias' IP address. Will try that this evening.
/O
    
    
More information about the Asterisk-BSD
mailing list