aboutsummaryrefslogtreecommitdiff
path: root/server/src/network/mdns.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-24 00:45:28 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-24 00:45:28 +0200
commitb344a0d4d87eabafa61acc8946643af395d81b8c (patch)
tree9ef5d0553843fd8bf697dc6d7b7d56e5372c6abf /server/src/network/mdns.rs
parent1f5954da4c7e8af341c456093c5542e9ae201e3d (diff)
downloadhurrycurry-b344a0d4d87eabafa61acc8946643af395d81b8c.tar
hurrycurry-b344a0d4d87eabafa61acc8946643af395d81b8c.tar.bz2
hurrycurry-b344a0d4d87eabafa61acc8946643af395d81b8c.tar.zst
optional upnp, mdns and register support
Diffstat (limited to 'server/src/network/mdns.rs')
-rw-r--r--server/src/network/mdns.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/server/src/network/mdns.rs b/server/src/network/mdns.rs
index 870ae7ec..43f7bc91 100644
--- a/server/src/network/mdns.rs
+++ b/server/src/network/mdns.rs
@@ -1,3 +1,20 @@
+/*
+ Hurry Curry! - a game about cooking
+ Copyright 2024 metamuffin
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, version 3 of the License only.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+*/
use crate::server::Server;
use anyhow::Result;
use get_if_addrs::get_if_addrs;