diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1998-08-01 06:23:49 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1998-08-01 06:23:49 +0000 |
commit | 47848880013e13383614eb4f5acec3725eb84906 (patch) | |
tree | 2ae23411c3480d2dc8a52286cad56dd995683a61 /sbin | |
parent | 1624aa1a5222b1027c667089e3ef9eea6c896289 (diff) |
close socket. Not really necessary, but good form.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ipsec/ipsecadm/kernel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/ipsec/ipsecadm/kernel.c b/sbin/ipsec/ipsecadm/kernel.c index b96ca8f8bea..b6b3a07c530 100644 --- a/sbin/ipsec/ipsecadm/kernel.c +++ b/sbin/ipsec/ipsecadm/kernel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kernel.c,v 1.3 1998/05/24 13:29:02 provos Exp $ */ +/* $OpenBSD: kernel.c,v 1.4 1998/08/01 06:23:48 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -74,5 +74,7 @@ xf_set(em) perror("write"); return 0; } + + close(sd); return 1; } |