diff options
author | Jeroen Leenarts <jeroen.leenarts@gmail.com> | 2018-05-27 14:23:36 +0200 |
---|---|---|
committer | Jeroen Leenarts <jeroen.leenarts@gmail.com> | 2018-05-27 14:23:36 +0200 |
commit | 14cb55dd8b22fc8be6186e1029273af31552a4f2 (patch) | |
tree | 51be863a76624b301f31dfb2d0e38b631c67ea57 /WireGuard/Models/WireGuard.xcdatamodeld/WireGuard.xcdatamodel/contents | |
parent | We are dealing with not just any tunnel, but with WireGuard tunnels. (diff) | |
download | wireguard-apple-14cb55dd8b22fc8be6186e1029273af31552a4f2.tar.xz wireguard-apple-14cb55dd8b22fc8be6186e1029273af31552a4f2.zip |
A config having zero peers is allowed.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | WireGuard/Models/WireGuard.xcdatamodeld/WireGuard.xcdatamodel/contents | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/WireGuard/Models/WireGuard.xcdatamodeld/WireGuard.xcdatamodel/contents b/WireGuard/Models/WireGuard.xcdatamodeld/WireGuard.xcdatamodel/contents index 929bcf5..c8197f9 100644 --- a/WireGuard/Models/WireGuard.xcdatamodeld/WireGuard.xcdatamodel/contents +++ b/WireGuard/Models/WireGuard.xcdatamodeld/WireGuard.xcdatamodel/contents @@ -25,12 +25,12 @@ <entity name="Tunnel" representedClassName="Tunnel" syncable="YES"> <attribute name="title" optional="YES" attributeType="String" syncable="YES"/> <relationship name="interface" maxCount="1" deletionRule="Cascade" destinationEntity="Interface" inverseName="tunnel" inverseEntity="Interface" syncable="YES"/> - <relationship name="peers" toMany="YES" minCount="1" deletionRule="Cascade" destinationEntity="Peer" inverseName="tunnel" inverseEntity="Peer" syncable="YES"/> + <relationship name="peers" toMany="YES" deletionRule="Cascade" destinationEntity="Peer" inverseName="tunnel" inverseEntity="Peer" syncable="YES"/> </entity> <elements> - <element name="Address" positionX="0" positionY="0" width="0" height="0"/> - <element name="Interface" positionX="0" positionY="0" width="0" height="0"/> - <element name="Peer" positionX="0" positionY="0" width="0" height="0"/> - <element name="Tunnel" positionX="0" positionY="0" width="0" height="0"/> + <element name="Address" positionX="-54" positionY="45" width="128" height="75"/> + <element name="Interface" positionX="-54" positionY="-9" width="128" height="165"/> + <element name="Peer" positionX="-36" positionY="9" width="128" height="135"/> + <element name="Tunnel" positionX="160" positionY="192" width="128" height="90"/> </elements> </model>
\ No newline at end of file |