path: root/src/parser_bison.y
diff options
authorPablo Neira Ayuso <>2021-03-24 17:19:32 +0100
committerPablo Neira Ayuso <>2021-03-25 12:12:13 +0100
commita3e215d7f68f41556912c33b3dcf12781f6b9b59 (patch)
tree8ed2f03a0ed14fe85634beea17ed3ab3195f4a05 /src/parser_bison.y
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: Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src/parser_bison.y')
0 files changed, 0 insertions, 0 deletions