git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fdbeaa
)
ofproto: Actually return the error code from meter add.
author
Jarno Rajahalme
<jrajahalme@nicira.com>
Fri, 13 Sep 2013 22:03:30 +0000
(15:03 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 16 Sep 2013 22:18:00 +0000
(15:18 -0700)
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index
1127900
..
9a2a4e8
100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-4920,7
+4920,7
@@
handle_add_meter(struct ofproto *ofproto, struct ofputil_meter_mod *mm)
ovs_assert(provider_meter_id.uint32 != UINT32_MAX);
*meterp = meter_create(&mm->meter, provider_meter_id);
}
- return
0
;
+ return
error
;
}
static enum ofperr