From a343bb398595a4edba3c334581ca40b2a9a051b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= Date: Wed, 17 Jul 2013 18:56:09 +0200 Subject: [PATCH] s4: fix IP enumeration and IPv6 loopback detection fixes bug #10030 we used to register ::1 at the DNS if we joined a domain and if "lo" was listed in "interfaces". --- python/pyglue.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/python/pyglue.c b/python/pyglue.c index 735f03a..3247802 100644 --- a/python/pyglue.c +++ b/python/pyglue.c @@ -129,7 +129,7 @@ static PyObject *py_get_debug_level(PyObject *self) return the list of interface IPs we have configured takes an loadparm context, returns a list of IPs in string form - Does not return addresses on 127.0.0.0/8 + Does not return addresses on 127.0.0.0/8 or ::1/128 */ static PyObject *py_interface_ips(PyObject *self, PyObject *args) { @@ -164,7 +164,8 @@ static PyObject *py_interface_ips(PyObject *self, PyObject *args) /* first count how many are not loopback addresses */ for (ifcount = i = 0; i