aboutsummaryrefslogtreecommitdiffstats
path: root/com32/samples/resolv.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/samples/resolv.c')
-rw-r--r--com32/samples/resolv.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/com32/samples/resolv.c b/com32/samples/resolv.c
index f4a0e52a..8f062d19 100644
--- a/com32/samples/resolv.c
+++ b/com32/samples/resolv.c
@@ -32,7 +32,13 @@ int main(int argc, char *argv[])
{
uint32_t ip;
+#if 0
+ /* this hangs! */
openconsole(&dev_null_r, &dev_stdcon_w);
+#else
+ /* this works */
+ openconsole(&dev_rawcon_r, &dev_ansiserial_w);
+#endif
if (argc < 2) {
fputs("Usage: resolv hostname\n", stderr);