Skip to content

Commit

Permalink
feat: add 'auto' choice to IPsecPhase1 'myid_type' and 'peerid_type' …
Browse files Browse the repository at this point in the history
…fields #584
  • Loading branch information
jaredhendrickson13 committed Oct 22, 2024
1 parent 7996cfc commit 7bae0d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class IPsecPhase1 extends Model {
);
$this->myid_type = new StringField(
required: true,
choices: ['myaddress', 'address', 'fqdn', 'user_fqdn', 'asn1dn', 'keyid tag', 'dyn_dns'],
choices: ['myaddress', 'address', 'fqdn', 'user_fqdn', 'asn1dn', 'keyid tag', 'dyn_dns', 'auto'],
help_text: 'The identifier type used by the local end of the tunnel.',
);
$this->myid_data = new StringField(
Expand All @@ -121,7 +121,7 @@ class IPsecPhase1 extends Model {
);
$this->peerid_type = new StringField(
required: true,
choices: ['any', 'peeraddress', 'address', 'fqdn', 'user_fqdn', 'asn1dn', 'keyid tag', 'dyn_dns'],
choices: ['any', 'peeraddress', 'address', 'fqdn', 'user_fqdn', 'asn1dn', 'keyid tag', 'dyn_dns', 'auto'],
help_text: 'The identifier type used by the remote end of the tunnel.',
);
$this->peerid_data = new StringField(
Expand Down

0 comments on commit 7bae0d2

Please sign in to comment.