Re: [exim] How to determine address of network by IP address…

Góra strony
Delete this message
Reply to this message
Autor: Martin A. Brooks
Data:  
Dla: Exim users mailing list
Temat: Re: [exim] How to determine address of network by IP address ofhost
On Tue, 2007-01-23 at 16:05 +0200, Alexander Shikoff wrote:
> In other words: when 'hosts' condition in example above succeeded for remote
> host 10.10.10.1 I need to get 10.10.10.0/24 from 'nets' list.


Not a clue about MySQL, but I do something similar in postgres.

http://www.postgresql.org/docs/8.1/interactive/functions-net.html

I would assume MySQL has something very similar.