git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Inline trivial functions.
[sliver-openvswitch.git]
/
lib
/
learn.c
diff --git
a/lib/learn.c
b/lib/learn.c
index
27b7105
..
8727a55
100644
(file)
--- a/
lib/learn.c
+++ b/
lib/learn.c
@@
-127,7
+127,7
@@
learn_from_openflow(const struct nx_action_learn *nal, struct ofpbuf *ofpacts)
}
spec = ofpbuf_put_zeros(ofpacts, sizeof *spec);
}
spec = ofpbuf_put_zeros(ofpacts, sizeof *spec);
- learn = ofpacts->
l2
;
+ learn = ofpacts->
frame
;
learn->n_specs++;
spec->src_type = header & NX_LEARN_SRC_MASK;
learn->n_specs++;
spec->src_type = header & NX_LEARN_SRC_MASK;
@@
-585,7
+585,7
@@
learn_parse__(char *orig, char *arg, struct ofpbuf *ofpacts)
char *error;
spec = ofpbuf_put_zeros(ofpacts, sizeof *spec);
char *error;
spec = ofpbuf_put_zeros(ofpacts, sizeof *spec);
- learn = ofpacts->
l2
;
+ learn = ofpacts->
frame
;
learn->n_specs++;
error = learn_parse_spec(orig, name, value, spec);
learn->n_specs++;
error = learn_parse_spec(orig, name, value, spec);