projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ud-generate: don't blow up when a host does not have IP-addresses
[mirror/userdir-ldap.git]
/
ud-generate
diff --git
a/ud-generate
b/ud-generate
index
f5279e0
..
3b9a627
100755
(executable)
--- a/
ud-generate
+++ b/
ud-generate
@@
-1015,6
+1015,9
@@
def GenHosts(File):
if IsDebianHost.match(GetAttr(x, "hostname")) is None:
continue
+ if not 'ipHostNumber' in x[1]:
+ continue
+
addrs = x[1]["ipHostNumber"]
for addr in addrs:
if addr not in seen: