Remove unecessary return
This commit is contained in:
		
							parent
							
								
									4fd103f722
								
							
						
					
					
						commit
						8a6f16303e
					
				@ -34,7 +34,6 @@ func main() {
 | 
				
			|||||||
    netInterface, err := netlink.LinkByName(iface)
 | 
					    netInterface, err := netlink.LinkByName(iface)
 | 
				
			||||||
    if err != nil {
 | 
					    if err != nil {
 | 
				
			||||||
        logger.Error.Fatal(err)
 | 
					        logger.Error.Fatal(err)
 | 
				
			||||||
        return
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Get the IPv4 address of the interface	
 | 
					    // Get the IPv4 address of the interface	
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user