Fix adding just the default route, #119 thanks to pva.
This commit is contained in:
		@@ -581,7 +581,8 @@ ${routes}"
 | 
			
		||||
			-net" "*|-host" "*);;
 | 
			
		||||
			*" "netmask" "*)                   cmd="-net ${cmd}";;
 | 
			
		||||
			*.*.*.*/32*)                       cmd="-host ${cmd}";;
 | 
			
		||||
			*.*.*.*/*|0.0.0.0" "*|default" "*) cmd="-net ${cmd}";;
 | 
			
		||||
			*.*.*.*/*|0.0.0.0|0.0.0.0" "*)     cmd="-net ${cmd}";;
 | 
			
		||||
			default|default" "*)               cmd="-net ${cmd}";;
 | 
			
		||||
			*)                                 cmd="-host ${cmd}";;
 | 
			
		||||
		esac
 | 
			
		||||
		if ${hidefirstroute}; then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user