package org.batfish.representation.cisco;

import java.io.Serializable;
import java.util.Collections;

import org.batfish.representation.Ip;
import org.batfish.representation.IpProtocol;
import org.batfish.representation.LineAction;
import org.batfish.util.SubRange;

public class StandardAccessListLine implements Serializable {

   private static final long serialVersionUID = 1L;

   private LineAction _action;
   private Ip _ip;
   private Ip _wildcard;

   public StandardAccessListLine(LineAction action, Ip ip, Ip wildcard) {
      _action = action;
      _ip = ip;
      _wildcard = wildcard;
   }

   public LineAction getAction() {
      return _action;
   }

   public Ip getIP() {
      return _ip;
   }

   public Ip getWildcard() {
      return _wildcard;
   }

   public ExtendedAccessListLine toExtendedAccessListLine() {
      return new ExtendedAccessListLine(_action, IpProtocol.IP, _ip, _wildcard,
            Ip.ZERO, Ip.MAX, Collections.<SubRange> emptyList(),
            Collections.<SubRange> emptyList(), null, null, null);
   }

}

@@ -226,16 +226,60 @@
 Action;%0A
+import org.batfish.representation.TcpFlags;%0A
 import o
@@ -1080,21 +1080,63 @@
 l, null,
- null
+%0A            Collections.%3CTcpFlags%3E emptyList()
 );%0A   %7D%0A

fix cisco tcpflags null pointer bug