networkd: fdb - fix const warning
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user