title: Scapy - How can I hide the report of sendp\sr1 and just get the final?‏
body: <p>I am working with scapy and I started to learn how to build packets (if someone has a good example on the internet to learn from it - it will be great! thanks.).</p>
  
  <p>I have the next command in scapy:</p>
  
  <pre><code>srp(Ether(dst='ff:ff:ff:ff:ff:ff')/ARP(pdst=ip)/Padding(load='\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00'),timeout=2)
  </code></pre>
  
  <p>Which send an arp packet in layer 2.
  When I do this command, its giving me the next answer:</p>
  
  <blockquote>
    <p>WARNING: No route found for IPv6 destination :: (no default route?)
    Begin emission:
    *Finished to send 1 packets.</p>
    
    <p>Received 1 packets, got 1 answers, remaining 0 packets</p>
    
    <p>00:50:56:e9:b8:b1</p>
  </blockquote>
  
  <p>for the next code:</p>
  
  <pre><code>def Arp_Req(ip):
          packet = srp(Ether(dst='ff:ff:ff:ff:ff:ff')/ARP(pdst=ip)/Padding(load='\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00'),timeout=2)
          try:
                  packet[0][0]
                  return packet[0][0][1].hwsrc
          except IndexError:
                  return "(E2)CANT FIND AN ANSWER FOR "+ip+"."
  </code></pre>
  
  <p>I want to hide all the report and print just the return answer. How can I do it?</p>