summaryrefslogtreecommitdiffstats
path: root/tests/py/any
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-03-24 17:19:32 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2021-03-25 12:12:13 +0100
commita3e215d7f68f41556912c33b3dcf12781f6b9b59 (patch)
tree8ed2f03a0ed14fe85634beea17ed3ab3195f4a05 /tests/py/any
parent8e6cc9f373854ed580156ec6f01bcd97786fa9f7 (diff)
src: add datatype->describe()
As an alternative to print the datatype values when no symbol table is available. Use it to print protocols available via getprotobynumber() which actually refers to /etc/protocols. Not very efficient, getprotobynumber() causes a series of open()/close() calls on /etc/protocols, but this is called from a non-critical path. Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1503 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/any')
0 files changed, 0 insertions, 0 deletions