summaryrefslogtreecommitdiff
path: root/nest/protocol.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2008-11-08 23:33:22 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2008-11-08 23:33:22 +0100
commitaebe06b40ce730a88cc8a3121be1944b3ddf5765 (patch)
treead154b3ccaef4c816a8a325db7c5561aaf2d7586 /nest/protocol.h
parentb21f68b4cd4794c84e5f0eb2c34204c87ccf0e9a (diff)
Proper format functions for ORIGINATOR_ID, CLUSTER_LIST
Diffstat (limited to 'nest/protocol.h')
-rw-r--r--nest/protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/protocol.h b/nest/protocol.h
index 64ea4661..d681ae68 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -48,7 +48,7 @@ struct protocol {
int (*shutdown)(struct proto *); /* Stop the instance */
void (*get_status)(struct proto *, byte *buf); /* Get instance status (for `show protocols' command) */
void (*get_route_info)(struct rte *, byte *buf, struct ea_list *attrs); /* Get route information (for `show route' command) */
- int (*get_attr)(struct eattr *, byte *buf); /* ASCIIfy dynamic attribute (returns GA_*) */
+ int (*get_attr)(struct eattr *, byte *buf, int buflen); /* ASCIIfy dynamic attribute (returns GA_*) */
};
void protos_build(void);