[gupnp] linux-cm: ifdef IFA_FLAGS use
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] linux-cm: ifdef IFA_FLAGS use
- Date: Fri, 5 Feb 2016 18:28:46 +0000 (UTC)
commit 40fb8e3cd20451680d72df05b03bf564925460d9
Author: Jens Georg <mail jensge org>
Date: Fri Feb 5 19:27:03 2016 +0100
linux-cm: ifdef IFA_FLAGS use
Looks like it was a recent addition.
Signed-off-by: Jens Georg <mail jensge org>
https://bugzilla.gnome.org/show_bug.cgi?id=760217
libgupnp/gupnp-linux-context-manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgupnp/gupnp-linux-context-manager.c b/libgupnp/gupnp-linux-context-manager.c
index 09a2fcf..cdf2ae3 100644
--- a/libgupnp/gupnp-linux-context-manager.c
+++ b/libgupnp/gupnp-linux-context-manager.c
@@ -128,7 +128,9 @@ dump_rta_attr (struct rtattr *rt_attr)
case IFA_ANYCAST: label = "IFA_ANYCAST"; break;
case IFA_CACHEINFO: label = "IFA_CACHEINFO"; break;
case IFA_MULTICAST: label = "IFA_MULTICAST"; break;
+#if defined(IFA_FLAGS)
case IFA_FLAGS: label = "IFA_FLAGS"; break;
+#endif
default: label = "Unknown"; break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]