]> git.ipfire.org Git - location/libloc.git/commit
perl: Add get_as_name()
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 22 Aug 2020 14:02:31 +0000 (16:02 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 24 Aug 2020 14:24:08 +0000 (14:24 +0000)
commit30c8e5289adce18327d6d41a27d7fc6eadd74705
treeb0ae0beced97b74952c92d08f418b54ce8b4dd24
parent084b5bf495b2d7d61cd2fb281f34481bc7a436cc
perl: Add get_as_name()

This function can be use to give the numer of an Autonomous System and
get back the stored name from the used location database.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/perl/Location.xs
src/perl/t/Location.t