Having or not XML parsing support doesn't break XML printing. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@xxxxxxxxx> --- src/expr/data_reg.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/expr/data_reg.c b/src/expr/data_reg.c index c0a048c..24497ff 100644 --- a/src/expr/data_reg.c +++ b/src/expr/data_reg.c @@ -262,7 +262,6 @@ static int nft_data_reg_value_snprintf_xml(char *buf, size_t size, union nft_data_reg *reg, uint32_t flags) { -#ifdef XML_PARSING int len = size, offset = 0, ret, i, j; uint8_t *tmp; int data_len = reg->len/sizeof(uint32_t); @@ -292,10 +291,6 @@ int nft_data_reg_value_snprintf_xml(char *buf, size_t size, SNPRINTF_BUFFER_SIZE(ret, size, len, offset); return offset; -#else - errno = EOPNOTSUPP; - return -1; -#endif } static int -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html