I know it, but i have to do it;i mean,  convert any ipv4 in my table.
is't possible?
tnx
Gaelle

2011/10/26 Luca Deri <[email protected]>

> Gaelle
> in your search you need to convert your a.b.c.d IP into number then search
> in mysql. Saving data in text format is not a good idea in particular for
> space and subnet searching
>
> Luca
>
> On Oct 26, 2011, at 9:44 AM, GAELLE TCHEUNOU wrote:
>
> > Hi!
> > i'm triying to use nprobe with mysql. My problem is about the type of the
> field ipv4_src/dst which is in int, and i need it in format ip (x.y.w.z).i
> tried to find, without success, where the ip is convert before putting in
> mysql to change the way; i tried also, using phpmyadmin, to add a field in
> my table with the default value "select inet_ntoa(ipv4_field_in_format_int)"
> but the operation is not accept because of the format of default value.
> > any idea? tnx.
> > ps:sorry for my <320.gif> english.
> > Gaelle
> > _______________________________________________
> > Ntop-misc mailing list
> > [email protected]
> > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to