You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't directly mentioned on the wiki page, but I had a hunch and after experimenting I found out that iprange will read numeric notation directly! So something like:
Yes it would cool if it could output in integer form too, that would make loading into MySQL much more streamlined. But using the mysql built-in functions isn't really a big deal. I'm sure there are other instances though that would be helpful to some.
This isn't directly mentioned on the wiki page, but I had a hunch and after experimenting I found out that iprange will read numeric notation directly! So something like:
iprange 18279424 -> 1.22.236.0
iprange 18279424/24 -> 1.22.236.0/24
iprange 18279424-18279679 -> 1.22.236.0/24
Pretty nifty! That's less conversion back & forth when storing IPs in numeric / integer form.
The text was updated successfully, but these errors were encountered: