diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2012-07-05 09:02:21 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2012-07-05 09:02:21 +0000 |
commit | 2757ffb7d0e1d21d334f0451252bcb1e3b1bec46 (patch) | |
tree | 2ce2fbaedff9e35f131424f75a05288c64305aef /sbin/ipsecctl/ipsecctl.c | |
parent | 2c9bd23f3cdb5b5181c44a15ce0db19024a6e8b2 (diff) |
don't output "esn" string in the rule section as we can't use the
keyword in the grammar to create a esn-enabled rule (no reason to
do so for manual sa configuration). instead decode sa flags so
that we can also watch changes happening in the realtime with the
monitor mode. prompted and ok by naddy
Diffstat (limited to 'sbin/ipsecctl/ipsecctl.c')
-rw-r--r-- | sbin/ipsecctl/ipsecctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/ipsecctl/ipsecctl.c b/sbin/ipsecctl/ipsecctl.c index 17f047ef145..ba0fe61a3f7 100644 --- a/sbin/ipsecctl/ipsecctl.c +++ b/sbin/ipsecctl/ipsecctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsecctl.c,v 1.76 2012/06/29 15:01:07 mikeb Exp $ */ +/* $OpenBSD: ipsecctl.c,v 1.77 2012/07/05 09:02:20 mikeb Exp $ */ /* * Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org> * @@ -367,8 +367,6 @@ ipsecctl_print_sa(struct ipsec_rule *r, int opts) ipsecctl_print_addr(r->src); printf(" to "); ipsecctl_print_addr(r->dst); - if (r->esn) - printf(" esn"); printf(" spi 0x%08x", r->spi); if (r->satype != IPSEC_TCPMD5) { |