git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f67c0a2
)
pyglue: Make all_interfaces argumen to interface_ips() optional.
author
Jelmer Vernooij
<jelmer@samba.org>
Thu, 27 Sep 2012 22:19:03 +0000
(15:19 -0700)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 21 Oct 2012 19:26:01 +0000
(21:26 +0200)
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Sun Oct 21 21:26:01 CEST 2012 on sn-devel-104
source4/scripting/python/pyglue.c
patch
|
blob
|
history
diff --git
a/source4/scripting/python/pyglue.c
b/source4/scripting/python/pyglue.c
index 966d82310fe8434f6385bc1c442013839d36de8a..735f03a1e16339cb4da3129d8fe1319963cea0ba 100644
(file)
--- a/
source4/scripting/python/pyglue.c
+++ b/
source4/scripting/python/pyglue.c
@@
-140,9
+140,9
@@
static PyObject *py_interface_ips(PyObject *self, PyObject *args)
struct loadparm_context *lp_ctx;
struct interface *ifaces;
int i, ifcount;
- int all_interfaces;
+ int all_interfaces
= 1
;
- if (!PyArg_ParseTuple(args, "Oi", &py_lp_ctx, &all_interfaces))
+ if (!PyArg_ParseTuple(args, "O
|
i", &py_lp_ctx, &all_interfaces))
return NULL;
tmp_ctx = talloc_new(NULL);