summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/ip_divert.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c
index d64a4cb..e3fab29 100644
--- a/sys/netinet/ip_divert.c
+++ b/sys/netinet/ip_divert.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ip_divert.c,v 1.8 1997/04/03 05:14:41 davidg Exp $
+ * $Id: ip_divert.c,v 1.9 1997/05/24 17:23:11 peter Exp $
*/
#include <sys/param.h>
@@ -311,6 +311,7 @@ div_bind(struct socket *so, struct mbuf *nam, struct proc *p)
int s;
int error;
+ imp = sotoinpcb(so);
s = splnet();
error = in_pcbbind(inp, nam, p);
splx(s);
OpenPOWER on IntegriCloud