From f8085cb4f10da81f64e6026fe132a9bcbcf50a6a Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Fri, 25 Mar 2011 10:54:23 +0000 Subject: Include original rdomain in DIOCNATLOOK. This allows userland proxies to establish cross rdomain proxy sessions. OK henning@, mpf@ --- sys/net/pf_ioctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/net/pf_ioctl.c') diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c index 1ccc46a027a..43062c18989 100644 --- a/sys/net/pf_ioctl.c +++ b/sys/net/pf_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_ioctl.c,v 1.236 2010/12/15 14:22:25 claudio Exp $ */ +/* $OpenBSD: pf_ioctl.c,v 1.237 2011/03/25 10:54:22 claudio Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1511,6 +1511,7 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) pnl->rsport = sk->port[sidx]; PF_ACPY(&pnl->rdaddr, &sk->addr[didx], sk->af); pnl->rdport = sk->port[didx]; + pnl->rrdomain = sk->rdomain; } else error = ENOENT; } -- cgit v1.2.3