1
1

Move the assignment after the bozo check.

This commit was SVN r28669.
Этот коммит содержится в:
Jeff Squyres 2013-06-22 12:38:32 +00:00
родитель dd25421d48
Коммит e3d0782788

Просмотреть файл

@ -187,12 +187,13 @@ static const char *link_layer_to_str(int link_type)
static void check_sanity(char ***if_sanity_list, const char *dev_name, int port)
{
int i;
char tmp[BUFSIZ], **list = *if_sanity_list;
char tmp[BUFSIZ], **list;
const char *compare;
if (NULL == if_sanity_list || NULL == *if_sanity_list) {
return;
}
list = *if_sanity_list;
/* A match is found if:
- "dev_name" is in the list and port == -1, or