kernel: fix xt_connmark.h
Commita1cfe0dcbb(kernel: connmark set-dscpmark follow upstreamimg attempt") broke the usage of xt_connmark.h in user-space (e.g. strongswan), because the BIT() macro is unknown there. Fixes:a1cfe0dcbb(kernel: connmark set-dscpmark follow upstreamimg attempt") Signed-off-by: Martin Schiller <ms@dev.tdt.de>
This commit is contained in:
		
				
					committed by
					
						
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			
						parent
						
							53470bdf32
						
					
				
				
					commit
					54e39ddc2e
				
			@@ -87,8 +87,8 @@ Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
 | 
			
		||||
 };
 | 
			
		||||
 
 | 
			
		||||
 enum {
 | 
			
		||||
+	XT_CONNMARK_VALUE = BIT(0),
 | 
			
		||||
+	XT_CONNMARK_DSCP = BIT(1)
 | 
			
		||||
+	XT_CONNMARK_VALUE = (1 << 0),
 | 
			
		||||
+	XT_CONNMARK_DSCP = (1 << 1)
 | 
			
		||||
+};
 | 
			
		||||
+
 | 
			
		||||
+enum {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user