Skip to content
Snippets Groups Projects
Commit 919fc9f3 authored by Ryan Izard's avatar Ryan Izard
Browse files

Added back compile-test to the default in build.xml.

parent 6ba1f9d2
No related branches found
No related tags found
No related merge requests found
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
</target> </target>
<target name="coverage" depends="instrument,test,coverage-report"/> <target name="coverage" depends="instrument,test,coverage-report"/>
<target name="dist" depends="compile"> <target name="dist" depends="compile,compile-test">
<jar destfile="${floodlight-jar}" filesetmanifest="mergewithoutmain"> <jar destfile="${floodlight-jar}" filesetmanifest="mergewithoutmain">
<manifest> <manifest>
<attribute name="Main-Class" value="${main-class}"/> <attribute name="Main-Class" value="${main-class}"/>
......
...@@ -176,7 +176,7 @@ public class StaticFlowEntryPusherResource extends ServerResource { ...@@ -176,7 +176,7 @@ public class StaticFlowEntryPusherResource extends ServerResource {
if (icmp6_type == true) { if (icmp6_type == true) {
//icmp_type must be set to 135/136 to set ipv6_nd_target //icmp_type must be set to 135/136 to set ipv6_nd_target
if (nd_target == true) { if (nd_target == true) {
if (!(icmp_type == 135 || icmp_type == 136)) { if (!(icmp_type == 135 || icmp_type == 136)) { /* or 0x87 / 0x88 */
//invalid icmp6_type //invalid icmp6_type
state = 6; state = 6;
return state; return state;
......
...@@ -428,7 +428,11 @@ public class MatchUtils { ...@@ -428,7 +428,11 @@ public class MatchUtils {
if (ver10 == true) { if (ver10 == true) {
throw new IllegalArgumentException("OF Version incompatible"); throw new IllegalArgumentException("OF Version incompatible");
} }
mb.setExact(MatchField.IPV6_FLABEL, IPv6FlowLabel.of(Integer.parseInt(key_value[1]))); if (key_value[1].startsWith("0x")) {
mb.setExact(MatchField.IPV6_FLABEL, IPv6FlowLabel.of(Integer.parseInt(key_value[1].replaceFirst("0x", ""), 16)));
} else {
mb.setExact(MatchField.IPV6_FLABEL, IPv6FlowLabel.of(Integer.parseInt(key_value[1])));
}
break; break;
//sanjivini //sanjivini
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment