summaryrefslogtreecommitdiff
path: root/dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev.c')
-rw-r--r--dev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev.c b/dev.c
index 5a43643..2960976 100644
--- a/dev.c
+++ b/dev.c
@@ -385,8 +385,10 @@ const char *device_type2str(uint16_t type)
return "phonet";
case ARPHRD_PHONET_PIPE:
return "phonet_pipe";
+#if defined(ARPHRD_CAIF)
case ARPHRD_CAIF:
return "caif";
+#endif
case ARPHRD_IP6GRE:
return "ip6gre";
case ARPHRD_NETLINK: