also setter code s/true/1/
This commit is contained in:
		
					parent
					
						
							
								ec40bc2c54
							
						
					
				
			
			
				commit
				
					
						cb3b1501ef
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -57,7 +57,7 @@ control MyIngress(inout headers hdr,
 | 
				
			||||||
        /* trigger checksumming */
 | 
					        /* trigger checksumming */
 | 
				
			||||||
        meta.switch_task = TASK_CHECKSUM_ICMP;
 | 
					        meta.switch_task = TASK_CHECKSUM_ICMP;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        meta.chk_icmp = true;
 | 
					        meta.chk_icmp = 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        hdr.icmp6.setInvalid();
 | 
					        hdr.icmp6.setInvalid();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -160,7 +160,7 @@ Echo or Echo Reply Message
 | 
				
			||||||
        hdr.icmp6.setValid();
 | 
					        hdr.icmp6.setValid();
 | 
				
			||||||
        hdr.ipv6.next_header = PROTO_ICMP6;
 | 
					        hdr.ipv6.next_header = PROTO_ICMP6;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        meta.chk_icmp6 = true;
 | 
					        meta.chk_icmp6 = 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        hdr.icmp.setInvalid();
 | 
					        hdr.icmp.setInvalid();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue