]> git.proxmox.com Git - qemu.git/commit - net/tap-bsd.c
tap-bsd: handle ifname on FreeBSD hosts
authorJuergen Lock <nox@jelal.kn-bremen.de>
Fri, 20 Nov 2009 22:31:55 +0000 (23:31 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 21 Nov 2009 09:32:08 +0000 (09:32 +0000)
commit2f859a3c10c8a038661592fcdfe003ec97cca938
tree3503aa689f0820aa9abaa4b3a5c0b44aa1340837
parent39ca4c083264c9646b986f76d018fd808bac89fc
tap-bsd: handle ifname on FreeBSD hosts

Handle ifname on FreeBSD hosts; if no ifname is given, always start
the search from tap0.  (Simplified/cleaned up version of what has been
in the FreeBSD ports for a long time.)

Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
net/tap-bsd.c