Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

minor bugfix in ofl_msg_unpack_port_status

  • Loading branch information...
commit b1b146be8cfcbd722b7ae4d18ede2cf8094cd49a 1 parent 823569d
Zoltán Lajos Kis authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  oflib/ofl-messages-unpack.c
2  oflib/ofl-messages-unpack.c
@@ -302,7 +302,7 @@ ofl_msg_unpack_port_status(struct ofp_header *src, size_t *len, struct ofl_msg_h
302 302
     ss = (struct ofp_port_status *)src;
303 303
     ds = (struct ofl_msg_port_status *)malloc(sizeof(struct ofl_msg_port_status));
304 304
 
305  
-    ss->reason = ds->reason;
  305
+    ds->reason = ss->reason;
306 306
 
307 307
     error = ofl_structs_port_unpack(&(ss->desc), len, &(ds->desc));
308 308
     if (error) {

0 notes on commit b1b146b

Please sign in to comment.
Something went wrong with that request. Please try again.