]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip: fix minor style issue
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 25 Sep 2025 16:36:57 +0000 (09:36 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 26 Sep 2025 17:51:24 +0000 (10:51 -0700)
Replace 'const char*' with 'const char *'.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipaddress.c

index bbe48a47aa172760fcbd3d0447d93fced8ee3d86..4d93a04a8555e141ae30a4aaeb42ac607a181c9b 100644 (file)
@@ -1412,8 +1412,11 @@ static const struct ifa_flag_data_t {
        { .name = "stable-privacy",     .mask = IFA_F_STABLE_PRIVACY,   .readonly = true,       .v6only = true},
 };
 
-/* Returns a pointer to the data structure for a particular interface flag, or null if no flag could be found */
-static const struct ifa_flag_data_t* lookup_flag_data_by_name(const char* flag_name) {
+/*
+ * Returns a pointer to the data structure for a particular interface flag
+ * or null if no flag could be found
+ */
+static const struct ifa_flag_data_t* lookup_flag_data_by_name(const char *flag_name) {
        unsigned int i;
 
        for (i = 0; i < ARRAY_SIZE(ifa_flag_data); ++i) {