2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-27 15:18:06 +00:00

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.
This commit is contained in:
Ben Pfaff
2011-09-12 10:57:28 -07:00
parent 21d486606d
commit e7ed3a3a5f
3 changed files with 4 additions and 4 deletions

View File

@@ -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: