[BACK]Return to ping6.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sbin / ping6

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sbin/ping6/ping6.c between version 1.4 and 1.5

version 1.4, 1999/07/02 17:52:36 version 1.5, 1999/07/04 01:11:23
Line 469  main(argc, argv)
Line 469  main(argc, argv)
                 if ((len = ipsec_set_policy(buf, len, policy)) < 0)                  if ((len = ipsec_set_policy(buf, len, policy)) < 0)
                         errx(1, ipsec_strerror());                          errx(1, ipsec_strerror());
                 if (setsockopt(s, IPPROTO_IPV6, IPV6_IPSEC_POLICY, buf, len) < 0)                  if (setsockopt(s, IPPROTO_IPV6, IPV6_IPSEC_POLICY, buf, len) < 0)
                         err(1, "Unable to set IPSec policy");                          warnx("Unable to set IPSec policy");
                 free(buf);                  free(buf);
         }          }
 #else  #else

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CVSweb <webmaster@jp.NetBSD.org>