diff options
Diffstat (limited to 'extensions/libxt_esp.c')
-rw-r--r-- | extensions/libxt_esp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libxt_esp.c b/extensions/libxt_esp.c index e04daf82..b5219fd9 100644 --- a/extensions/libxt_esp.c +++ b/extensions/libxt_esp.c @@ -87,18 +87,18 @@ static void esp_save(const void *ip, const struct xt_entry_match *match) } static int esp_xlate(const struct xt_entry_match *match, - struct xt_buf *buf, int numeric) + struct xt_xlate *xl, int numeric) { const struct xt_esp *espinfo = (struct xt_esp *)match->data; if (!(espinfo->spis[0] == 0 && espinfo->spis[1] == 0xFFFFFFFF)) { - xt_buf_add(buf, "esp spi%s", + xt_xlate_add(xl, "esp spi%s", (espinfo->invflags & XT_ESP_INV_SPI) ? " !=" : ""); if (espinfo->spis[0] != espinfo->spis[1]) - xt_buf_add(buf, " %u-%u ", espinfo->spis[0], + xt_xlate_add(xl, " %u-%u ", espinfo->spis[0], espinfo->spis[1]); else - xt_buf_add(buf, " %u ", espinfo->spis[0]); + xt_xlate_add(xl, " %u ", espinfo->spis[0]); } return 1; |