don't try to change tun device flags if they are already what
authordjm <djm@openbsd.org>
Wed, 7 Oct 2015 00:54:06 +0000 (00:54 +0000)
committerdjm <djm@openbsd.org>
Wed, 7 Oct 2015 00:54:06 +0000 (00:54 +0000)
commit54a7c8e758cd01f9821093880ae91337a1f25f45
tree80515f775719854425aa9000ef8cfaa0b86293ff
parentb2e0265f2181b4a6180cfc18429ed960d848cdea
don't try to change tun device flags if they are already what
we need; makes it possible to use tun/tap networking as non-
root user if device permissions and interface flags are
pre-established; based on patch by Ossi Herrala
usr.bin/ssh/misc.c