mirror of
https://github.com/luscis/openlan.git
synced 2025-12-24 11:10:54 +08:00
fix: localid is required.
This commit is contained in:
@@ -107,11 +107,11 @@ func (o IPSecTunnel) Commands() *cli.Command {
|
||||
Usage: "Add a ipsec tunnel",
|
||||
Flags: []cli.Flag{
|
||||
&cli.StringFlag{Name: "remote", Required: true},
|
||||
&cli.StringFlag{Name: "remoteid"},
|
||||
&cli.StringFlag{Name: "remoteid", Required: true},
|
||||
&cli.IntFlag{Name: "remoteport"},
|
||||
&cli.StringFlag{Name: "protocol", Required: true},
|
||||
&cli.StringFlag{Name: "secret", Required: true},
|
||||
&cli.StringFlag{Name: "localid"},
|
||||
&cli.StringFlag{Name: "localid", Required: true},
|
||||
&cli.IntFlag{Name: "localport"},
|
||||
},
|
||||
Action: o.Add,
|
||||
|
||||
Reference in New Issue
Block a user