From: Pekka Pessi <[email protected]>

The isimodem GPRS connections (PHONET_PIPEs) have ARP header type 821.
---
 src/rtnl.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/rtnl.c b/src/rtnl.c
index 83f7952..ec9a5a7 100644
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -38,6 +38,10 @@
 
 #include "connman.h"
 
+#ifndef ARPHDR_PHONET_PIPE
+#define ARPHDR_PHONET_PIPE (821)
+#endif
+
 #define print(arg...) do { } while (0)
 //#define print(arg...) connman_info(arg)
 
@@ -398,6 +402,7 @@ static void process_newlink(unsigned short type, int index, 
unsigned flags,
        switch (type) {
        case ARPHRD_ETHER:
        case ARPHRD_LOOPBACK:
+       case ARPHDR_PHONET_PIPE:
        case ARPHRD_NONE:
                __connman_ipconfig_newlink(index, type, flags,
                                                        str, mtu, &stats);
-- 
1.7.0.4

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to