summaryrefslogtreecommitdiff
path: root/src/python-systemd/daemon.py
diff options
context:
space:
mode:
authorSimon Farnsworth <simon.farnsworth@onelan.co.uk>2015-03-25 17:00:09 +0000
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-04-12 10:20:36 -0400
commit9f1a574d50c1ffd19f18805cc8a3a433c4f2da37 (patch)
treeefe08096bac03163e1248668b3c8d3110bb70891 /src/python-systemd/daemon.py
parent776c441941632c9bf0fb97a78e4127aff4a60e4e (diff)
python-systemd: fix is_socket_inet to cope with ports
Just a couple of trivial oversights.
Diffstat (limited to 'src/python-systemd/daemon.py')
-rw-r--r--src/python-systemd/daemon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python-systemd/daemon.py b/src/python-systemd/daemon.py
index 1c386bb6fc..82011ca606 100644
--- a/src/python-systemd/daemon.py
+++ b/src/python-systemd/daemon.py
@@ -26,7 +26,7 @@ def is_socket(fileobj, family=_AF_UNSPEC, type=0, listening=-1):
def is_socket_inet(fileobj, family=_AF_UNSPEC, type=0, listening=-1, port=0):
fd = _convert_fileobj(fileobj)
- return _is_socket_inet(fd, family, type, listening)
+ return _is_socket_inet(fd, family, type, listening, port)
def is_socket_unix(fileobj, type=0, listening=-1, path=None):
fd = _convert_fileobj(fileobj)