Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix errors #64

Merged
merged 3 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
version: "3.9"
services:
plexms:
respotter:
container_name: respotter
image: ghcr.io/lawndoc/respotter:latest
network_mode: host
cap_add:
- NET_RAW
security_opt:
- label:disable
restart: always
Expand Down
2 changes: 1 addition & 1 deletion respotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ def __init__(self,
if subnet:
try:
network = ip_network(subnet)
self.broadcast_ip = str(network.broadcast_address)
except:
self.log.error(f"[!] ERROR: could not parse subnet CIDR. Netbios protocol will be disabled.")
self.broadcast_ip = str(network.broadcast_address)
elif "nbns" not in self.excluded_protocols:
self.log.error(f"[!] ERROR: subnet CIDR not configured. Netbios protocol will be disabled.")
self.excluded_protocols.append("nbns")
Expand Down
Loading