summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorForest Bond <forest.bond@rapidrollout.com>2012-06-20 21:06:28 (GMT)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-07-17 08:22:07 (GMT)
commit18af3028c215a28732acf55099559074154aa26e (patch)
tree0c9c43fbbb0ef4c6ecc74a08377b8ed3bf7d8eaa
parentb0bf545cb5e34abc9e0cb19065fddd6b895218ba (diff)
downloadconnman-18af3028c215a28732acf55099559074154aa26e.zip
connman-18af3028c215a28732acf55099559074154aa26e.tar.gz
connman-18af3028c215a28732acf55099559074154aa26e.tar.bz2
rtnl: Support PPP connections
The ARP header type for PPP connections is ARPHRD_PPP (512).
-rw-r--r--src/rtnl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rtnl.c b/src/rtnl.c
index 4e7ef4d..e4b35c2 100644
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -429,6 +429,7 @@ static void process_newlink(unsigned short type, int index, unsigned flags,
case ARPHRD_ETHER:
case ARPHRD_LOOPBACK:
case ARPHDR_PHONET_PIPE:
+ case ARPHRD_PPP:
case ARPHRD_NONE:
__connman_ipconfig_newlink(index, type, flags,
str, mtu, &stats);