diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/runqemu-gen-tapdevs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs index cbf8008929..a00c79c442 100755 --- a/scripts/runqemu-gen-tapdevs +++ b/scripts/runqemu-gen-tapdevs | |||
| @@ -68,7 +68,7 @@ if [ ! -x "$RUNQEMU_IFUP" ]; then | |||
| 68 | fi | 68 | fi |
| 69 | 69 | ||
| 70 | if interfaces=`ip tuntap list` 2>/dev/null; then | 70 | if interfaces=`ip tuntap list` 2>/dev/null; then |
| 71 | interfaces=`echo "$interfaces" |cut -f1 -d: ` | 71 | interfaces=`echo "$interfaces" |cut -f1 -d: |grep -E "^$OE_TAP_NAME.*"` |
| 72 | else | 72 | else |
| 73 | echo "Failed to call 'ip tuntap list'" >&2 | 73 | echo "Failed to call 'ip tuntap list'" >&2 |
| 74 | exit 1 | 74 | exit 1 |
