patch-1.3.71 linux/net/ax25/ax25_subr.c

Next file: linux/net/core/dev.c
Previous file: linux/mm/kmalloc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.70/linux/net/ax25/ax25_subr.c linux/net/ax25/ax25_subr.c
@@ -348,7 +348,7 @@
 	}
 		
 	if (dama != NULL) 
-		*dama = !(buf[13] & DAMA_FLAG);
+		*dama = ~(buf[13] & DAMA_FLAG);
 		
 	/* Copy to, from */
 	if (dest != NULL) 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this