diff --git a/src/tun.c b/src/tun.c
index 9d372dc..c83c1e2 100644
--- a/src/tun.c
+++ b/src/tun.c
@@ -460,7 +460,7 @@ tun_setmtu(const unsigned mtu)
 #ifndef WINDOWS32
 	char cmdline[512];
 
-	if (mtu > 200 && mtu < 1500) {
+	if (mtu > 200 && mtu <= 1500) {
 		snprintf(cmdline, sizeof(cmdline), 
 				"/sbin/ifconfig %s mtu %u",
 				if_name,