[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] slirp: Fix typo in net_slirp_hostfwd_remove
From: |
Geoffrey Thomas |
Subject: |
[Qemu-devel] [PATCH] slirp: Fix typo in net_slirp_hostfwd_remove |
Date: |
Sat, 17 Dec 2011 04:23:59 -0500 (EST) |
User-agent: |
Alpine 2.02 (DEB 1266 2009-07-14) |
Report an error when err is nonzero, not when it is zero.
Signed-off-by: Geoffrey Thomas <address@hidden>
---
net/slirp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/slirp.c b/net/slirp.c
index 6646ecb..18e07ba 100644
--- a/net/slirp.c
+++ b/net/slirp.c
@@ -351,7 +351,7 @@ void net_slirp_hostfwd_remove(Monitor *mon, const QDict
*qdict)
host_addr, host_port);
monitor_printf(mon, "host forwarding rule for %s %s\n", src_str,
- err ? "removed" : "not found");
+ err ? "not found" : "removed");
return;
fail_syntax:
--
1.7.7.3
- [Qemu-devel] [PATCH] slirp: Fix typo in net_slirp_hostfwd_remove,
Geoffrey Thomas <=