Hi Marcus, On ti, 2015-03-31 at 20:08 +0200, Marcus Folkesson wrote: > From: Marcus Folkesson <[email protected]> > > Support for multiple VLANs binded to the same interface. > VLAN services appear as: > vlan_<MAC to bounded IF>_<VLAN IFNAME> > For example: > vlan_5c260a4bf6a3_vlan3 > > Signed-off-by: Marcus Folkesson <[email protected]> > diff --git a/src/rtnl.c b/src/rtnl.c > index b8b02c4..15827ab 100644 > --- a/src/rtnl.c > +++ b/src/rtnl.c > @@ -170,6 +170,9 @@ static void read_uevent(struct interface_data *interface) > } else if (strcmp(line + 8, "gadget") == 0) { > interface->service_type = CONNMAN_SERVICE_TYPE_GADGET; > interface->device_type = CONNMAN_DEVICE_TYPE_GADGET; > + } else if (strcmp(line + 8, "vlan") == 0) { > + interface->service_type = CONNMAN_SERVICE_TYPE_VLAN; > + interface->device_type = CONNMAN_DEVICE_TYPE_VLAN; > > } else {
Checked this with ancient 3.2 kernel and for vlan interface there is no DEVTYPE defined. For newer 3.19 kernel, the DEVTYPE is set to vlan as expected. I just wonder would it be possible to treat vlan device as a normal ethernet device without separation between vlan and ethernet types. This would solve this issue with different kernel versions. Cheers, Jukka _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
