Make interface Table setting optional in wg.conf
This commit is contained in:
		
							parent
							
								
									d72b83f3c0
								
							
						
					
					
						commit
						ffb8df8de4
					
				|  | @ -11,7 +11,7 @@ PrivateKey = {{ .serverConfig.KeyPair.PrivateKey }} | |||
| {{if .globalSettings.MTU}}MTU = {{ .globalSettings.MTU }}{{end}} | ||||
| {{if .serverConfig.Interface.PostUp }}PostUp = {{ .serverConfig.Interface.PostUp }}{{end}} | ||||
| {{if .serverConfig.Interface.PostDown }}PostDown = {{ .serverConfig.Interface.PostDown }}{{end}} | ||||
| Table = {{ .globalSettings.Table }} | ||||
| {{if .globalSettings.Table}}Table = {{ .globalSettings.Table }}{{end}} | ||||
| 
 | ||||
| {{range .clientDataList}}{{if eq .Client.Enabled true}} | ||||
| # ID:           {{ .Client.ID }} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue