Skip to content

Commit

Permalink
security/tinc: sync with master
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jan 18, 2021
1 parent 6b4922b commit 9df2d81
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions security/tinc/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PLUGIN_NAME= tinc
PLUGIN_VERSION= 1.6
PLUGIN_REVISION= 1
PLUGIN_COMMENT= Tinc VPN
PLUGIN_DEPENDS= tinc
PLUGIN_MAINTAINER= [email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</hostname>
<extaddress type="HostnameField">
<Required>N</Required>
<IpAllowed>1</IpAllowed>
<IpAllowed>Y</IpAllowed>
<FieldSeparator>,</FieldSeparator>
<AsList>Y</AsList>
</extaddress>
Expand Down Expand Up @@ -136,7 +136,7 @@
</extport>
<extaddress type="HostnameField">
<Required>N</Required>
<IpAllowed>1</IpAllowed>
<IpAllowed>Y</IpAllowed>
<FieldSeparator>,</FieldSeparator>
<AsList>Y</AsList>
<Constraints>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def set_connectto(self, value):
self._connectTo = value.text

def get_subnets(self):
if not self._payload['subnet']:
if not 'subnet' in self._payload:
return
yield from self._payload['subnet'].split(',')

Expand Down

0 comments on commit 9df2d81

Please sign in to comment.