summaryrefslogtreecommitdiff
path: root/proto/rip/rip.c
diff options
context:
space:
mode:
authorPavel Tvrdik <pawel.tvrdik@gmail.cz>2014-12-03 10:10:34 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2015-02-21 19:31:36 +0100
commit4a591d4b947e0abc0ad013ca1b75da27c6922be5 (patch)
tree01327290a9810cc068429f81099dbc684bd8306f /proto/rip/rip.c
parent8ce9a87755372d7612375bb1a81a288f309746c8 (diff)
Replacing GNU old-style field designator extension
Diffstat (limited to 'proto/rip/rip.c')
-rw-r--r--proto/rip/rip.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index a0c28e72..f41f52e7 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -1046,16 +1046,16 @@ rip_copy_config(struct proto_config *dest, struct proto_config *src)
struct protocol proto_rip = {
- name: "RIP",
- template: "rip%d",
- attr_class: EAP_RIP,
- preference: DEF_PREF_RIP,
- get_route_info: rip_get_route_info,
- get_attr: rip_get_attr,
-
- init: rip_init,
- dump: rip_dump,
- start: rip_start,
- reconfigure: rip_reconfigure,
- copy_config: rip_copy_config
+ .name = "RIP",
+ .template = "rip%d",
+ .attr_class = EAP_RIP,
+ .preference = DEF_PREF_RIP,
+ .get_route_info = rip_get_route_info,
+ .get_attr = rip_get_attr,
+
+ .init = rip_init,
+ .dump = rip_dump,
+ .start = rip_start,
+ .reconfigure = rip_reconfigure,
+ .copy_config = rip_copy_config
};