From 5d7d8d86a2e9c056cc46980f83e296800a4620b0 Mon Sep 17 00:00:00 2001 From: vdutta Date: Tue, 8 Jun 2021 17:53:34 +0530 Subject: [PATCH] Added default value for hexbin type --- libbbf_api/dmbbf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libbbf_api/dmbbf.c b/libbbf_api/dmbbf.c index 6f6913b7..b598fa68 100644 --- a/libbbf_api/dmbbf.c +++ b/libbbf_api/dmbbf.c @@ -1093,6 +1093,8 @@ static char *get_default_value_by_type(int type) case DMT_LONG: case DMT_BOOL: return "0"; + case DMT_HEXBIN: + return "00"; case DMT_BASE64: return "AA=="; // base64 encoded hex value 00 case DMT_TIME: