rtnl: Fixed log for the type RTM_GETADDR
authorPaulo Pizarro <paulo.pizarro@gmail.com>
Mon, 2 Jul 2012 11:53:43 +0000 (08:53 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 2 Jul 2012 12:29:43 +0000 (14:29 +0200)
The connman prints an unknown type when sending a request RTM_GETADDR

src/rtnl.c

index a6ff84b..4e7ef4d 100644 (file)
@@ -1255,6 +1255,8 @@ static const char *type2string(uint16_t type)
                return "NEWLINK";
        case RTM_DELLINK:
                return "DELLINK";
+       case RTM_GETADDR:
+               return "GETADDR";
        case RTM_NEWADDR:
                return "NEWADDR";
        case RTM_DELADDR: