Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Checkstyle enforcer
[controller.git]
/
opendaylight
/
sal
/
api
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
sal
/
packet
/
IPv4.java
diff --git
a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/packet/IPv4.java
b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/packet/IPv4.java
index 44318aab8c5c1626eb787b960acfaa3ede7bea29..7a7a5a757fb4ab4ff7184da84a25662f42729e07 100644
(file)
--- a/
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/packet/IPv4.java
+++ b/
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/packet/IPv4.java
@@
-378,9
+378,9
@@
public class IPv4 extends Packet {
* @param checksum the checksum to set
*/
/*public IPv4 setChecksum() {
* @param checksum the checksum to set
*/
/*public IPv4 setChecksum() {
- short ipChecksum = computeChecksum();
+
short ipChecksum = computeChecksum();
byte[] checksum = BitBufferHelper.toByteArray(ipChecksum);
byte[] checksum = BitBufferHelper.toByteArray(ipChecksum);
- fieldValues.put(CHECKSUM, checksum);
+
fieldValues.put(CHECKSUM, checksum);
return this;
}*/
return this;
}*/
@@
-444,7
+444,7
@@
public class IPv4 extends Packet {
/**
* Computes the IPv4 header checksum on the passed stream of bytes
* representing the packet
/**
* Computes the IPv4 header checksum on the passed stream of bytes
* representing the packet
- *
+ *
* @param data
* The byte stream
* @param offset
* @param data
* The byte stream
* @param offset