From 70da0da0a3a7247df69ca19bedba4da4cdc36f3b Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Fri, 28 Feb 1997 01:05:18 +0000 Subject: Corrected the length field. --- sbin/ipsec/pfr/pfr.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sbin/ipsec') diff --git a/sbin/ipsec/pfr/pfr.c b/sbin/ipsec/pfr/pfr.c index 0cf54aefe19..c8e5bbae692 100644 --- a/sbin/ipsec/pfr/pfr.c +++ b/sbin/ipsec/pfr/pfr.c @@ -74,7 +74,7 @@ char **argv; em = (struct encap_msghdr *)&buf[0]; - em->em_msglen = EM_MINLEN; + em->em_msglen = EMT_IFADDR_LEN; em->em_version = 0; em->em_type = EMT_IFADDR; em->em_ifa.s_addr = inet_addr(argv[2]); @@ -82,10 +82,4 @@ char **argv; if (write(sd, buf, EMT_IFADDR_LEN) != EMT_IFADDR_LEN) perror("write"); - - - - } - - -- cgit v1.2.3