]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
ipinfo.cgi: Display network flags of the given addresses.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 12 Sep 2020 08:32:03 +0000 (10:32 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 12 Sep 2020 08:32:03 +0000 (10:32 +0200)
commit021482c7adda1276225e8fa1d5c5ce974318b53a
tree668dbd7d1410abd43b5bc4bd7688b93bee9f9f52
parent6ccc2ee1d050381d36b8241dfff51cb46a6e06d7
ipinfo.cgi: Display network flags of the given addresses.

Use the libloc data for gathering and displaying the stored network
flags, like "Anonymous Proxy" for the addresses.

The notice of a flag only will be displayed, if a flag is set for the
network which contains the given address.

Currently this notice text is "hardcoded" in englisch language, because
the entire other content of the page is in Englisch (responses from RIR's)
and also the flag names like "Anonymous Proxy" are only availabe in
English.

IMHO there is no need to to translate the string "This address is marked
as" into different languages, because of the reasons abouve.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ipinfo.cgi