Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added description strings for x_nat_t_new_mapping and x_migrate when

printing stats of pfkey packets.

contributed by Francis Dupont.
  • Loading branch information...
commit 55b77a78170db200fecb2a2a67da8fe8880f7e4a 1 parent ab43f01
keiichi authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 kame/kame/netstat/ipsec.c
8 kame/kame/netstat/ipsec.c
View
@@ -1,5 +1,5 @@
/* $NetBSD: inet.c,v 1.35.2.1 1999/04/29 14:57:08 perry Exp $ */
-/* $KAME: ipsec.c,v 1.34 2004/06/14 05:35:14 itojun Exp $ */
+/* $KAME: ipsec.c,v 1.35 2005/09/22 09:53:04 keiichi Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
@@ -154,6 +154,12 @@ static const char *pfkey_msgtypenames[] = {
"dump", "x_promisc", "x_pchange", "x_spdupdate", "x_spdadd",
"x_spddelete", "x_spdget", "x_spdacquire", "x_spddump", "x_spdflush",
"x_spdsetidx", "x_spdexpire", "x_spddelete2"
+#ifdef SADB_X_NAT_T_NEW_MAPPING
+ ,"x_nat_t_new_mapping"
+#endif
+#ifdef SADB_X_MIGRATE
+ ,"x_migrate"
+#endif
};
static struct ipsecstat ipsecstat;
Please sign in to comment.
Something went wrong with that request. Please try again.