summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/networkd-fdb.c3
-rw-r--r--src/network/networkd-link.c2
-rw-r--r--src/network/networkd.h2
3 files changed, 3 insertions, 4 deletions
diff --git a/src/network/networkd-fdb.c b/src/network/networkd-fdb.c
index 78488c9d25..feab8d421e 100644
--- a/src/network/networkd-fdb.c
+++ b/src/network/networkd-fdb.c
@@ -99,8 +99,7 @@ static int set_fdb_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userdata) {
}
/* send a request to the kernel to add a FDB entry in its static MAC table. */
-int fdb_entry_configure(Link *link,
- FdbEntry *const fdb_entry) {
+int fdb_entry_configure(Link *const link, FdbEntry *const fdb_entry) {
_cleanup_rtnl_message_unref_ sd_rtnl_message *req = NULL;
sd_rtnl *rtnl;
int r;
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 3f1539454f..7b488162f9 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -728,7 +728,7 @@ int link_address_drop_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userdata)
return 1;
}
-static int link_set_bridge_fdb(const Link *const link) {
+static int link_set_bridge_fdb(Link *const link) {
FdbEntry *fdb_entry;
int r = 0;
diff --git a/src/network/networkd.h b/src/network/networkd.h
index fdd0684fca..7f1f06c811 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -383,7 +383,7 @@ int config_parse_label(const char *unit, const char *filename, unsigned line,
int ltype, const char *rvalue, void *data, void *userdata);
/* Forwarding database table. */
-int fdb_entry_configure(Link *link, FdbEntry *const fdb_entry);
+int fdb_entry_configure(Link *const link, FdbEntry *const fdb_entry);
void fdb_entry_free(FdbEntry *fdb_entry);
int fdb_entry_new_static(Network *const network, const unsigned section, FdbEntry **ret);