OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 1... Line 1...
1 --- a/networking/libiproute/iplink.c 1 --- a/networking/libiproute/iplink.c
2 +++ b/networking/libiproute/iplink.c 2 +++ b/networking/libiproute/iplink.c
3 @@ -652,7 +652,7 @@ static int do_add_or_delete(char **argv, 3 @@ -598,7 +598,7 @@ static int do_add_or_delete(char **argv,
4 } 4 }
5 xrtnl_open(&rth); 5 xrtnl_open(&rth);
6 ll_init_map(&rth); 6 ll_init_map(&rth);
7 - if (type_str) { 7 - if (type_str) {
8 + if (type_str && rtm == RTM_NEWLINK) { 8 + if (type_str && rtm == RTM_NEWLINK) {