[PATCH] fw4: spelling fixes

Paul Donald newtwen+github at gmail.com
Wed Apr 3 15:35:24 PDT 2024


Signed-off-by: Paul Donald <newtwen+github at gmail.com>
---
 root/usr/share/ucode/fw4.uc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/root/usr/share/ucode/fw4.uc b/root/usr/share/ucode/fw4.uc
index 551811a..6322a09 100644
--- a/root/usr/share/ucode/fw4.uc
+++ b/root/usr/share/ucode/fw4.uc
@@ -758,7 +758,7 @@ return {
 
 
 		//
-		// Build list of forwardings
+		// Build list of forwards
 		//
 
 		this.cursor.foreach("firewall", "forwarding", f => self.parse_forwarding(f));
@@ -2909,7 +2909,7 @@ return {
 						if (redir.src.zone[i ? "masq6" : "masq"] && length(rip[i])) {
 							let snat_addr = refaddrs[i]?.[0];
 
-							/* For internal reflection sources try to find a suitable candiate IP
+							/* For internal reflection sources try to find a suitable candidate IP
 							 * among the reflection zone subnets which is within the same subnet
 							 * as the original DNAT destination. If we can't find any matching
 							 * one then simply take the first candidate. */
@@ -3155,7 +3155,7 @@ return {
 				else if ((length(sip[1]) || length(dip[1]) || length(rip[1])) && !length(sip[0]) && !length(dip[0]) && !length(rip[0]))
 					family = 6;
 				else
-					family = 4; /* default to IPv4 only for backwards compatibility, unless an explict family any was configured */
+					family = 4; /* default to IPv4 only for backwards compatibility, unless an explicit family any was configured */
 			}
 
 			/* check if there's no AF specific bits, in this case we can do an AF agnostic rule */
-- 
2.44.0




More information about the openwrt-devel mailing list