diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-12-12 16:39:23 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-12-12 18:31:53 -0800 |
commit | a4657249446a96933f0c2928f8a1f87b1929c245 (patch) | |
tree | 1afef1cbf73d7a7bc3816416ea50f9cd893508a6 /zebra/interface.h | |
parent | 219940a5f510270113c7eca0c7b25f6938b7565a (diff) | |
download | quagga-a4657249446a96933f0c2928f8a1f87b1929c245.tar.bz2 quagga-a4657249446a96933f0c2928f8a1f87b1929c245.tar.xz |
Fix management of interface renames
Need to delete then add since zebra has no clean way to pass around
rename, and the configuration is based on name not ifindex.
Diffstat (limited to 'zebra/interface.h')
-rw-r--r-- | zebra/interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/interface.h b/zebra/interface.h index 0a6b0365..fe44c501 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -215,6 +215,7 @@ extern void if_delete_update (struct interface *ifp); extern void if_add_update (struct interface *ifp); extern void if_up (struct interface *); extern void if_down (struct interface *); +extern void if_rename (struct interface *, const char *); extern void if_refresh (struct interface *); extern void if_flags_update (struct interface *, uint64_t); extern int if_subnet_add (struct interface *, struct connected *); |