diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2013-12-06 14:58:38 -0800 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2013-12-09 15:40:11 +0100 |
commit | 438e3ff21fa3610db7789c2543e4ae639ca418ae (patch) | |
tree | 3dfcbdc4c45049174821411d7e6ddda1070dfcdd /lib | |
parent | 4b84836085067722882129b8c6a864364ae4ca42 (diff) | |
download | libnl-438e3ff21fa3610db7789c2543e4ae639ca418ae.tar.gz |
fix some typo in lib/route/act.c
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/route/act.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/route/act.c b/lib/route/act.c index 9c00453e..ea432105 100644 --- a/lib/route/act.c +++ b/lib/route/act.c @@ -216,7 +216,7 @@ int rtnl_act_build_add_request(struct rtnl_act *act, int flags, * @arg act Action to add/update * @arg flags Additional netlink message flags * - * Builds a \c RTM_NEWTFILTER netlink message requesting the addition + * Builds a \c RTM_NEWACTION netlink message requesting the addition * of a new action and sends the message to the kernel. The * configuration of the action is derived from the attributes of * the specified traffic class. @@ -316,7 +316,7 @@ int rtnl_act_change(struct nl_sock *sk, struct rtnl_act *act, int flags) int rtnl_act_build_delete_request(struct rtnl_act *act, int flags, struct nl_msg **result) { - return act_build(act, RTM_DELTFILTER, flags, result); + return act_build(act, RTM_DELACTION, flags, result); } /** @@ -325,7 +325,7 @@ int rtnl_act_build_delete_request(struct rtnl_act *act, int flags, * @arg act Action to delete * @arg flags Additional netlink message flags * - * Builds a \c RTM_DELTFILTER netlink message requesting the deletion + * Builds a \c RTM_DELACTION netlink message requesting the deletion * of an action and sends the message to the kernel. * * The message is constructed out of the following attributes: |