This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # jan/13/2020 08:34:56 by RouterOS 6.46.1 | |
| # | |
| # notes: \ | |
| # - wan to orange ont on ether1; \ | |
| # - lan to ap/switch on ether2; \ | |
| # - ipv4 + ipv6 w/ fw rules; \ | |
| # - using routeros dns cache for lan, proxying to the dns servers advertised by orange's dhcpv4 server; \ | |
| # - direct plug your computer w/ wireshark to your livebox 4 fiber ethernet port and reboot it, inspect the dhcpv4 packat in wireshark and extract the value of 'authsend'; \ | |
| # - the cos tag needs to be set to 6 to be accepted by the ont dhcpv4/v6 server (from default 0), this may not be required depending on your ont, check for the cos flag sent by your livebox 4 when sniffing its traffic | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import RealmSwift | |
| import Realm | |
| protocol CascadeDeleting: class { | |
| func delete<Entity>(_ list: List<Entity>, cascading: Bool) | |
| func delete<Entity>(_ results: Results<Entity>, cascading: Bool) | |
| func delete<Entity: Object>(_ entity: Entity, cascading: Bool) | |
| } |