Univention Bugzilla – Attachment 9132 Details for
Bug 45229
ucs-school-info script throws a traceback displaying network information
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
45229.patch (text/plain), 584 bytes, created by
Florian Best
on 2017-08-21 16:01:30 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2017-08-21 16:01:30 CEST
Size:
584 bytes
patch
obsolete
>diff --git a/ucs-school-info/ucs-school-info b/ucs-school-info/ucs-school-info >index db7e592..48a4fe5 100644 >--- a/ucs-school-info/ucs-school-info >+++ b/ucs-school-info/ucs-school-info >@@ -169,7 +169,7 @@ def network(base=baseDN): > if dnx.count('cn=networks'): > _base = ','.join(dnx[dnx.index('cn=networks') + 1:]) > >- for subnet in get_objects('dhcp/subnet', base=_base, superordinate=n['dhcpEntryZone']): >+ for subnet in get_objects('dhcp/subnet', base=_base): > subnet.open() > brd_ip = ipaddr.IPv4Address(subnet['broadcastaddress']) > if brd_ip not in net_ip:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45229
:
9127
|
9128
|
9129
| 9132