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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Martin A. Brooks
Date:  
À: Exim users mailing list
Sujet: 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.