diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-09-12 10:57:28 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-09-13 11:46:08 -0700 |
| commit | e7ed3a3a5f87d20f0cc632ae23adba6f30a4e19d (patch) | |
| tree | 6e6b076736f21005520c7c59ba204f8678fa2034 /lib/ofp-parse.c | |
| parent | 21d486606d67881c9dccb59a6f0ba6cbd1af5dfa (diff) | |
| download | openvswitch-e7ed3a3a5f87d20f0cc632ae23adba6f30a4e19d.tar.gz | |
classifier: Change cls_rule_set_nd_target() to take a pointer.
The other cls_rule_*() functions that take IPv6 addresses take a pointer
to an in6_addr, so cls_rule_set_nd_target() should as well for consistency.
Possibly this is more efficient also, although I guess it doesn't really
make much of a difference either way.
Diffstat (limited to 'lib/ofp-parse.c')
| -rw-r--r-- | lib/ofp-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ofp-parse.c b/lib/ofp-parse.c index e352bd436..2d4f01199 100644 --- a/lib/ofp-parse.c +++ b/lib/ofp-parse.c @@ -813,7 +813,7 @@ parse_field_value(struct cls_rule *rule, enum field_index index, case F_ND_TARGET: str_to_ipv6(value, &ipv6, NULL); - cls_rule_set_nd_target(rule, ipv6); + cls_rule_set_nd_target(rule, &ipv6); break; case F_ND_SLL: |
