Opened 6 years ago
Last modified 4 years ago
#1111 closed Bug / Defect
Netsh command fails if adapter name contains whitespace — at Initial Version
Reported by: | stipa | Owned by: | stipa |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Generic / unclassified | Version: | |
Severity: | Patch Queue: In progress | Keywords: | |
Cc: | Selva Nair |
Description
OpenVPN WIndows 2.4.6, adapter name is "Ethernet 2".
Mon Sep 17 16:48:10 2018 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set address Ethernet 2 dhcp Mon Sep 17 16:48:10 2018 ERROR: netsh command failed: returned error code 1
Same problem when running this command via admin command problem.
Problem disappears if adapter name is enclosed into quotations.
We should probably use adapter index instead of name, as it has been done for ipv6:
https://sourceforge.net/p/openvpn/mailman/message/34616805/
Note: See
TracTickets for help on using
tickets.