Hi Daniel,
+ +/* + * Tie the table number to interface index number, substract 1 because + * indexes are > 0 + */ +static uint32_t get_table_id(int ifindex) +{ + const uint32_t value = ('c' << 24) | ('m' << 16) | ('a' << 8) | 'n'; + + return value + ifindex - 1; +}
Don't introduce this function, since you remove it in patch 6. Tomasz _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman