OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 57... | Line 57... | |||
57 | { |
57 | { |
|
58 | return (strcmp(name, dev->dev_name) == 0 || |
58 | return (strcmp(name, dev->dev_name) == 0 || |
|
59 | strcmp(name, dev->alias) == 0); |
59 | strcmp(name, dev->alias) == 0); |
|
60 | } |
60 | } |
|
Line 61... | Line 61... | |||
61 | |
61 | |
|
62 | static void |
62 | static int |
|
63 | swlib_map_settings(struct switch_dev *dev, int type, int port_vlan, struct uci_section *s) |
63 | swlib_map_settings(struct switch_dev *dev, int type, int port_vlan, struct uci_section *s) |
|
64 | { |
64 | { |
|
65 | struct swlib_setting *setting; |
65 | struct swlib_setting *setting; |
|
66 | struct switch_attr *attr; |
66 | struct switch_attr *attr; |