Skip to contentSkip to conversation

Windows: Route fails on certain configurations

Openvpn-devel Oliver 2 participants 2 messages Apr 19, 2012 – Apr 21, 2012

lore
Share & tools
lore

Oliver

author
#0 lore raw

Hi,

in the source code of win32.c, there is a static path.

    fp = fopen ("c:\\windows\\system32\\route.exe", "rb");

If the windows path is different, e. g. c:\WinNT or c:\WinXP this will fail. I'm no C programmer (and no windows user), but I think it is annoying enough to report. Maybe someone can fix this. :-)

regards

#1 lore raw

Hi,

Quoted 7 lines · Oliver

in the source code of win32.c, there is a static path.

    fp = fopen ("c:\\windows\\system32\\route.exe", "rb");

If the windows path is different, e. g. c:\WinNT or c:\WinXP this will fail. I'm no C programmer (and no windows user), but I think it is annoying enough to report. Maybe someone can fix this. :-)

Indeed, that code is "strange", but not for the reason you think it is.

(win32.c, configure_win_path() )

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...