… | |
… | |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17 | GNU General Public License for more details. |
17 | GNU General Public License for more details. |
18 | |
18 | |
19 | You should have received a copy of the GNU General Public License |
19 | You should have received a copy of the GNU General Public License |
20 | along with gvpe; if not, write to the Free Software |
20 | along with gvpe; if not, write to the Free Software |
21 | Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 | Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
22 | */ |
22 | */ |
23 | |
23 | |
24 | // unfortunately, there is be no way to set MAC addresses under windows, |
24 | // unfortunately, there is be no way to set MAC addresses under windows, |
25 | // and the default cipedrvr uses a different MAC address than we do, |
25 | // and the default cipedrvr uses a different MAC address than we do, |
26 | // so this module tries to fix mac addresses in packets and arp packets. |
26 | // so this module tries to fix mac addresses in packets and arp packets. |
… | |
… | |
122 | tap_device::info () |
122 | tap_device::info () |
123 | { |
123 | { |
124 | return _("cygwin cipe/openvpn tap device"); |
124 | return _("cygwin cipe/openvpn tap device"); |
125 | } |
125 | } |
126 | |
126 | |
|
|
127 | const char * |
|
|
128 | tap_device::if_up () |
|
|
129 | { |
|
|
130 | return ""; |
|
|
131 | } |
|
|
132 | |
127 | tap_device::tap_device () |
133 | tap_device::tap_device () |
128 | { |
134 | { |
129 | HKEY key, key2; |
135 | HKEY key, key2; |
130 | int i; |
136 | int i; |
131 | |
137 | |