summaryrefslogtreecommitdiff
path: root/src/rtnl.c
diff options
context:
space:
mode:
authorForest Bond <forest.bond@rapidrollout.com>2012-06-20 17:06:28 -0400
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-07-17 10:22:07 +0200
commit18af3028c215a28732acf55099559074154aa26e (patch)
tree0c9c43fbbb0ef4c6ecc74a08377b8ed3bf7d8eaa /src/rtnl.c
parentb0bf545cb5e34abc9e0cb19065fddd6b895218ba (diff)
downloadconnman-18af3028c215a28732acf55099559074154aa26e.tar.gz
connman-18af3028c215a28732acf55099559074154aa26e.tar.bz2
connman-18af3028c215a28732acf55099559074154aa26e.zip
rtnl: Support PPP connections
The ARP header type for PPP connections is ARPHRD_PPP (512).
Diffstat (limited to 'src/rtnl.c')
-rw-r--r--src/rtnl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rtnl.c b/src/rtnl.c
index 4e7ef4d5..e4b35c2c 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);