improve the dialer
This commit is contained in:
parent
842be5eadd
commit
78075c3e32
3 changed files with 45 additions and 12 deletions
|
@ -43,7 +43,9 @@ func SetPort(v string) func(*Manager) error {
|
|||
func SetSAMOpts(s []string) func(*Manager) error {
|
||||
return func(c *Manager) error {
|
||||
for _, i := range s {
|
||||
c.samopts += i + " "
|
||||
if i != "" {
|
||||
c.samopts = append(c.samopts, i)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue