try 1 == nf2
This commit is contained in:
		
					parent
					
						
							
								8d2c0cbf9b
							
						
					
				
			
			
				commit
				
					
						f347e35e71
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								netpfga/minip4/testdata/gen_testdata.py
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								netpfga/minip4/testdata/gen_testdata.py
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -108,7 +108,7 @@ def test_port1():
 | 
				
			||||||
    pkt = Ether(dst=MAC2, src=MAC1)
 | 
					    pkt = Ether(dst=MAC2, src=MAC1)
 | 
				
			||||||
    pkt = pad_pkt(pkt, 64)
 | 
					    pkt = pad_pkt(pkt, 64)
 | 
				
			||||||
    applyPkt(pkt, 'nf0', pktCnt)
 | 
					    applyPkt(pkt, 'nf0', pktCnt)
 | 
				
			||||||
    expPkt(pkt,   'nf1')
 | 
					    expPkt(pkt,   'nf2')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Test that packets are being mirrored
 | 
					# Test that packets are being mirrored
 | 
				
			||||||
def test_mirror():
 | 
					def test_mirror():
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue