summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-03-27 13:25:40 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-03-27 13:25:40 -0400
commitd867ae6b78c6455b56069c78de1eee34644a7bd7 (patch)
tree8afed7fae34a2aa1612df9ba372eb15550741042 /cobbler
parent6095d08ba6a90e181636d836d6f8a371118875c3 (diff)
downloadthird_party-cobbler-d867ae6b78c6455b56069c78de1eee34644a7bd7.tar.gz
third_party-cobbler-d867ae6b78c6455b56069c78de1eee34644a7bd7.tar.xz
third_party-cobbler-d867ae6b78c6455b56069c78de1eee34644a7bd7.zip
Bind cobbler_syslogd to everything.
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/syslog_watcher.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/cobbler/syslog_watcher.py b/cobbler/syslog_watcher.py
index 64dd802..fc00b85 100644
--- a/cobbler/syslog_watcher.py
+++ b/cobbler/syslog_watcher.py
@@ -22,10 +22,7 @@ def main():
port = settings.syslog_port
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
- try:
- s.bind((socket.gethostname(), port))
- except:
- s.bind("127.0.0.1", port))
+ s.bind(("0.0.0.0", port))
buf = 1024