Author: bz
Date: Wed Feb 15 09:32:20 2012
New Revision: 231746
URL: http://svn.freebsd.org/changeset/base/231746

Log:
  MFC r231515:
  
   Use the correct constant (with same value) for comparying the SA type.
  
  PR:           kern/142741
  Submitted by: Matthijs Kooiman (matthijs stdin.nl)

Modified:
  stable/9/lib/libipsec/pfkey.c
Directory Properties:
  stable/9/lib/libipsec/   (props changed)

Modified: stable/9/lib/libipsec/pfkey.c
==============================================================================
--- stable/9/lib/libipsec/pfkey.c       Wed Feb 15 07:30:23 2012        
(r231745)
+++ stable/9/lib/libipsec/pfkey.c       Wed Feb 15 09:32:20 2012        
(r231746)
@@ -662,7 +662,7 @@ pfkey_send_register(so, satype)
 {
        int len, algno;
 
-       if (satype == PF_UNSPEC) {
+       if (satype == SADB_SATYPE_UNSPEC) {
                for (algno = 0;
                     algno < sizeof(supported_map)/sizeof(supported_map[0]);
                     algno++) {
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to