diff options
author | Alex Wang <alexw@nicira.com> | 2013-05-16 15:17:10 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-05-16 15:24:55 -0700 |
commit | 63a10d0e099fe8eb6052fadf6b80a0ab208a6381 (patch) | |
tree | e9c298b4f28e380b5592934e0b9ab1857e9808f8 /lib/mac-learning.h | |
parent | 94a538422d4b05449097e5ad07ac25b05429f1fe (diff) |
lib/mac-learning.h: Change one variable's type and name
This commit changes variable "int i" of "union port" of "struct mac_entry"
to "uint16_t ofp_port", since it is used to store the OpenFlow port number.
Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/mac-learning.h')
-rw-r--r-- | lib/mac-learning.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mac-learning.h b/lib/mac-learning.h index 284e7f63..666b00f4 100644 --- a/lib/mac-learning.h +++ b/lib/mac-learning.h @@ -49,7 +49,7 @@ struct mac_entry { /* Learned port. */ union { void *p; - int i; + uint16_t ofp_port; } port; }; |