diff mbox series

fw4: spelling fixes

Message ID 20240403223524.86149-1-newtwen+github@gmail.com
State New
Headers show
Series fw4: spelling fixes | expand

Commit Message

Paul Donald April 3, 2024, 10:35 p.m. UTC
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
---
 root/usr/share/ucode/fw4.uc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

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 */