-/* $OpenBSD: pfkeyv2.c,v 1.191 2018/08/31 12:55:46 mpi Exp $ */
+/* $OpenBSD: pfkeyv2.c,v 1.192 2018/09/12 11:24:38 mpi Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) 17 January 1995
void *p;
/* Find how much space we need */
- i = sizeof(struct sadb_sa) + sizeof(struct sadb_lifetime) +
- sizeof(struct sadb_x_counter);
+ i = sizeof(struct sadb_sa) + sizeof(struct sadb_lifetime);
if (tdb->tdb_soft_allocations || tdb->tdb_soft_bytes ||
tdb->tdb_soft_timeout || tdb->tdb_soft_first_use)
}
#endif
- headers[SADB_X_EXT_COUNTER] = p;
- export_counter(&p, tdb);
-
rval = 0;
ret: