aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Erickson <gerickson@nuovations.com>2023-12-13 11:59:59 -0800
committerMarcel Holtmann <marcel@holtmann.org>2023-12-14 12:32:22 +0100
commit60766c10c98ab5c0e3c2bea61544a89d39be730f (patch)
treefcd2409511e1d621094e210316b6ac488d96b91e
parentf785c755330ffa7e052f0ee86cf62db76859498c (diff)
downloadconnman-60766c10c98ab5c0e3c2bea61544a89d39be730f.tar.gz
connection: Rename 'connection.c' to 'gateway.c'.
While historically, "connection.c" might have been a contextually-apt name, today it might be better named "gateway.c" since its primary focus is gateway routes and gateway route management. Reflective of that, this renames "connection.c" to "gateway.c".
-rw-r--r--Makefile.am2
-rw-r--r--src/gateway.c (renamed from src/connection.c)0
-rw-r--r--src/inet.c2
3 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 169b4bc66..fad129c81 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -117,7 +117,7 @@ src_connmand_SOURCES = $(gdhcp_sources) $(gweb_sources) $(stats_sources) \
$(backtrace_sources) $(builtin_sources) $(shared_sources) \
src/connman.ver src/main.c src/connman.h src/log.c \
src/error.c src/plugin.c src/task.c \
- src/device.c src/network.c src/connection.c \
+ src/device.c src/network.c src/gateway.c \
src/manager.c src/service.c \
src/clock.c src/timezone.c src/agent-connman.c \
src/agent.c src/notifier.c src/provider.c \
diff --git a/src/connection.c b/src/gateway.c
index 30e7d736e..30e7d736e 100644
--- a/src/connection.c
+++ b/src/gateway.c
diff --git a/src/inet.c b/src/inet.c
index 31596a76a..779ed7b2b 100644
--- a/src/inet.c
+++ b/src/inet.c
@@ -3079,7 +3079,7 @@ bool connman_inet_is_ipv6_supported()
* connmand and vpnd use inet.c, getting the route is via ipconfig and ipconfig
* is different for both. Gateway is left here for possible future use.
*
- * Gateway can be NULL and connection.c then assigns 0.0.0.0 address or ::,
+ * Gateway can be NULL and gateway.c then assigns 0.0.0.0 address or ::,
* depending on IP family.
*/
bool connman_inet_is_default_route(int family, const char *host,