summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-28 10:32:24 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-28 10:32:24 +0000
commit0e6d6c9710b4eb33e55c178e5cc03494928c928a (patch)
tree7edf80ee001d0466bc0e1ee5472869108f825069
parentfc59f7bb135528c122d79e6af1ce4cbc52e0b3ee (diff)
Set the IFCAP_IPSEC capability.
-rw-r--r--sys/dev/pci/if_txp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_txp.c b/sys/dev/pci/if_txp.c
index 8d65c97e5c3..e67509e7617 100644
--- a/sys/dev/pci/if_txp.c
+++ b/sys/dev/pci/if_txp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_txp.c,v 1.33 2001/05/25 10:04:54 deraadt Exp $ */
+/* $OpenBSD: if_txp.c,v 1.34 2001/05/28 10:32:23 angelos Exp $ */
/*
* Copyright (c) 2001
@@ -276,6 +276,7 @@ txp_attach(parent, self, aux)
ifp->if_watchdog = txp_watchdog;
ifp->if_baudrate = 10000000;
ifp->if_snd.ifq_maxlen = TX_ENTRIES;
+ ifp->if_capabilities |= IFCAP_IPSEC;
bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
timeout_set(&sc->sc_tick, txp_tick, sc);