Commit 1da8d6cf authored by jan.koester's avatar jan.koester
Browse files

test

parent f4044b2f
Loading
Loading
Loading
Loading
+0 −2
Changes for src/main.cpp: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -81,7 +81,6 @@ void addShare(sysbus::Message &m, const Share &s) {
    m.add("read_only", yesNo(s.readOnly));
    m.add("smb", yesNo(s.smb));
    m.add("nfs", yesNo(s.nfs));
    m.add("mdns", yesNo(s.mdns));
    m.add("guest", yesNo(s.guest));
    for (auto &u : s.users) m.add("user", u);
    for (auto &c : s.clients) m.add("client", c);
@@ -132,7 +131,6 @@ Share shareFrom(const sysbus::Message &m) {
    s.readOnly = yes(m.get("read_only", "no"));
    s.smb = yes(m.get("smb", "yes"));
    s.nfs = yes(m.get("nfs", "no"));
    s.mdns = yes(m.get("mdns", "yes"));
    s.guest = yes(m.get("guest", "no"));
    for (auto &u : m.getAll("user"))
        if (!u.empty()) s.users.push_back(u);
+2 −1
Changes for src/mdns.h: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -29,7 +29,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 * visible in the network's file browsers without any setup.
 *
 *   <host>.local                      A/AAAA, the addresses of the interface asked on
 *   <name>._smb._tcp.local            SMB (Windows, macOS, Linux file managers)
 *   <name>._smb._tcp.local            SMB (macOS Finder, Linux file managers; Windows
 *                                     resolves <host>.local, its network view is WS-Discovery)
 *   <name>._device-info._tcp.local    model=RackMac: macOS shows a server
 *   <share> (<host>)._nfs._tcp.local  one per NFS share, path=<its NFSv4 path>
 *