Skip to content

Commit

Permalink
fixup! cpu/native: adapt start-up and auto-init for multiple netdev2_tap
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Jan 12, 2017
1 parent 2ebe5ca commit 423174c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpu/native/include/netdev2_tap_params.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016 Freie Universität Berlin
* Copyright (C) 2017 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
Expand Down
4 changes: 3 additions & 1 deletion cpu/native/startup.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ void usage_exit(void)
real_printf("usage: %s", _progname);

#if defined(MODULE_NETDEV2_TAP)
real_printf(" <tap interface>");
for (int i = 0; i < NETDEV2_TAP_MAX; i++) {
real_printf(" <tap interface %d>", i + 1);
}
#endif

real_printf(" [-i <id>] [-d] [-e|-E] [-o] [-c <tty device>]\n");
Expand Down

0 comments on commit 423174c

Please sign in to comment.