diff mbox series

[10/90] connection: Fix 'DBG' copy-and-paste typo.

Message ID 20231206235056.322578-11-gerickson@nuovations.com (mailing list archive)
State Not Applicable, archived
Headers show
Series Add Gateway Low-priority Default Routes for Non-default Services | expand

Commit Message

Grant Erickson Dec. 6, 2023, 11:49 p.m. UTC
This corrects an "ipv4" -> "ipv6" copy-and-paste typo in 'DBG'
statements in '{un,}set_default_gateway'.
---
 src/connection.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/src/connection.c b/src/connection.c
index 6df29fe31aa9..ac0565c14257 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -1197,7 +1197,7 @@  static void set_default_gateway(struct gateway_data *data,
 						data->ipv6_config->gateway);
 
 			DBG("set %p index %d gateway %s",
-				data, data->index, data->ipv4_config->gateway);
+				data, data->index, data->ipv6_config->gateway);
 		}
 
 		gateway_config_type_set(data->ipv6_config,
@@ -1317,7 +1317,7 @@  static void unset_default_gateway(struct gateway_data *data,
 						data->ipv6_config->gateway);
 
 			DBG("unset %p index %d gateway %s",
-				data, data->index, data->ipv4_config->gateway);
+				data, data->index, data->ipv6_config->gateway);
 		}
 	}
 }