chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dhcp: Add option append tests
[elogind.git]
/
src
/
libsystemd-bus
/
bus-introspect.c
diff --git
a/src/libsystemd-bus/bus-introspect.c
b/src/libsystemd-bus/bus-introspect.c
index 8bec017d639dd4fd95cff9019d6be3373c866905..504fab1b4b3b9b08861bc9e5985aa27d245bb2f7 100644
(file)
--- a/
src/libsystemd-bus/bus-introspect.c
+++ b/
src/libsystemd-bus/bus-introspect.c
@@
-121,6
+121,9
@@
int introspect_write_interface(struct introspect *i, const sd_bus_vtable *v) {
for (; v->type != _SD_BUS_VTABLE_END; v++) {
for (; v->type != _SD_BUS_VTABLE_END; v++) {
+ if (v->type != _SD_BUS_VTABLE_START && (v->flags & SD_BUS_VTABLE_HIDDEN))
+ continue;
+
switch (v->type) {
case _SD_BUS_VTABLE_START:
switch (v->type) {
case _SD_BUS_VTABLE_START: