freebsd-smbfs (9.0~svn227117-2) af_netbios.diff

Summary

 contrib/smbfs/lib/smb/nb_name.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

--- a/contrib/smbfs/lib/smb/nb_name.c
+++ b/contrib/smbfs/lib/smb/nb_name.c
@@ -61,7 +61,7 @@
 	if (snb == NULL)
 		return ENOMEM;
 	bzero(snb, slen);
-	snb->snb_family = AF_NETBIOS;
+	snb->snb_family = 6;
 	snb->snb_len = slen;
 	*dst = snb;
 	return 0;