]> git.ipfire.org Git - location/libloc.git/blobdiff - src/python/export.py
Implement an additional flag for hostile networks safe to drop
[location/libloc.git] / src / python / export.py
index f0eae2644fc0a8411ae70c28a5666cb91f6fceeb..3b9e1e0262634a0fded1c43a2b7f0dce6ed8fe12 100644 (file)
@@ -3,7 +3,7 @@
 #                                                                             #
 # libloc - A library to determine the location of someone on the Internet     #
 #                                                                             #
-# Copyright (C) 2020 IPFire Development Team <info@ipfire.org>                #
+# Copyright (C) 2020-2021 IPFire Development Team <info@ipfire.org>           #
 #                                                                             #
 # This library is free software; you can redistribute it and/or               #
 # modify it under the terms of the GNU Lesser General Public                  #
@@ -33,6 +33,7 @@ FLAGS = {
        _location.NETWORK_FLAG_ANONYMOUS_PROXY    : "A1",
        _location.NETWORK_FLAG_SATELLITE_PROVIDER : "A2",
        _location.NETWORK_FLAG_ANYCAST            : "A3",
+       _location.NETWORK_FLAG_DROP               : "XD",
 }
 
 class OutputWriter(object):