diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-05-10 07:50:35 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-05-10 07:50:35 +0200 |
commit | 3c8af4819e677e5ae5298604edbd544887cf964a (patch) | |
tree | 1a651eef666eb3891dc6749e436084efa7fdea63 /passt.h | |
parent | 9d063569ff10dd64e04d574769ea073a0bab70a0 (diff) | |
download | passt-3c8af4819e677e5ae5298604edbd544887cf964a.tar passt-3c8af4819e677e5ae5298604edbd544887cf964a.tar.gz passt-3c8af4819e677e5ae5298604edbd544887cf964a.tar.bz2 passt-3c8af4819e677e5ae5298604edbd544887cf964a.tar.lz passt-3c8af4819e677e5ae5298604edbd544887cf964a.tar.xz passt-3c8af4819e677e5ae5298604edbd544887cf964a.tar.zst passt-3c8af4819e677e5ae5298604edbd544887cf964a.zip |
passt: Don't use getprotobynumber() in debug build
With glibc, we can't reliably build a static binary with
getprotobynumber(), which is currently used with -DDEBUG.
Replace that with a small array of protocol strings.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.h')
0 files changed, 0 insertions, 0 deletions