diff options
author | Tom Gundersen <teg@jklm.no> | 2014-12-04 16:14:06 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-12-04 16:14:57 +0100 |
commit | 584d0d2aefe3ab521fcf3da818a14b4538ce04a9 (patch) | |
tree | 224fe11d3686fdbbc82378ab67eceb4630b390ce /src/libsystemd/sd-rtnl/rtnl-message.c | |
parent | 9624f0c1549921f5c1fc49281c624815c30bf38d (diff) |
sd-rtnl: rename sd_rtnl_message_route_get_{dst,src}_len to *_prefixlen
This makes the API more consistent.
Diffstat (limited to 'src/libsystemd/sd-rtnl/rtnl-message.c')
-rw-r--r-- | src/libsystemd/sd-rtnl/rtnl-message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-rtnl/rtnl-message.c b/src/libsystemd/sd-rtnl/rtnl-message.c index 4491a00f4f..1112aa6b90 100644 --- a/src/libsystemd/sd-rtnl/rtnl-message.c +++ b/src/libsystemd/sd-rtnl/rtnl-message.c @@ -161,7 +161,7 @@ int sd_rtnl_message_route_get_family(sd_rtnl_message *m, int *family) { return 0; } -int sd_rtnl_message_route_get_dst_len(sd_rtnl_message *m, unsigned char *dst_len) { +int sd_rtnl_message_route_get_dst_prefixlen(sd_rtnl_message *m, unsigned char *dst_len) { struct rtmsg *rtm; assert_return(m, -EINVAL); @@ -176,7 +176,7 @@ int sd_rtnl_message_route_get_dst_len(sd_rtnl_message *m, unsigned char *dst_len return 0; } -int sd_rtnl_message_route_get_src_len(sd_rtnl_message *m, unsigned char *src_len) { +int sd_rtnl_message_route_get_src_prefixlen(sd_rtnl_message *m, unsigned char *src_len) { struct rtmsg *rtm; assert_return(m, -EINVAL); |