diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 2003-01-13 00:33:17 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 2003-01-13 00:33:17 +0000 |
| commit | 48e3128b34dad9618402f1f4095f7655e779843c (patch) | |
| tree | ee3c8690226ac4a086122b794c975aab9319b671 /contrib/ipfilter | |
| parent | a15700fe32805ba16b50232a70037238a04fbb86 (diff) | |
Notes
Diffstat (limited to 'contrib/ipfilter')
| -rw-r--r-- | contrib/ipfilter/ipsend/sock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/ipfilter/ipsend/sock.c b/contrib/ipfilter/ipsend/sock.c index cb9dba862a846..519cedf3ccbb5 100644 --- a/contrib/ipfilter/ipsend/sock.c +++ b/contrib/ipfilter/ipsend/sock.c @@ -222,7 +222,7 @@ struct tcpiphdr *ti; } s = (struct socket *)calloc(1, sizeof(*s)); - if (KMCPY(s, f->un_data.socket, sizeof(*s)) == -1) + if (KMCPY(s, f->f_data, sizeof(*s)) == -1) { fprintf(stderr, "read(%#x,%#x,%d) - f_data - failed\n", o[fd], s, sizeof(*s)); @@ -316,10 +316,10 @@ struct tcpiphdr *ti; } s = (struct socket *)calloc(1, sizeof(*s)); - if (KMCPY(s, f->un_data.socket, sizeof(*s)) == -1) + if (KMCPY(s, f->f_data, sizeof(*s)) == -1) { fprintf(stderr, "read(%#lx,%#lx,%lu) - f_data - failed\n", - (u_long)f->un_data.socket, (u_long)s, + (u_long)f->f_data, (u_long)s, (u_long)sizeof(*s)); return NULL; } |
