chiark / gitweb /
fw-util: fix errno typo for !HAVE_LIBIPTC
authorDaniel Mack <daniel@zonque.org>
Tue, 13 Jan 2015 14:50:15 +0000 (15:50 +0100)
committerDaniel Mack <daniel@zonque.org>
Tue, 13 Jan 2015 14:50:36 +0000 (15:50 +0100)
src/shared/fw-util.h

index 58b4c2024d111ff86b9eda1a67b746149638cace..698cc43daa48576d423ca5f073460d2cbd24e236 100644 (file)
@@ -76,7 +76,7 @@ static inline int fw_add_local_dnat(
                 const union in_addr_union *remote,
                 uint16_t remote_port,
                 const union in_addr_union *previous_remote) {
-        return -ENOSTUP;
+        return -ENOTSUP;
 }
 
 #endif