]> The Tcpdump Group git mirrors - libpcap/commitdiff
NPF: Clean up indentation.
authorGuy Harris <[email protected]>
Sat, 13 Nov 2021 02:30:42 +0000 (18:30 -0800)
committerGuy Harris <[email protected]>
Sat, 13 Nov 2021 03:11:53 +0000 (19:11 -0800)
(cherry picked from commit c0f5bb6cdb5861828a638282dcd11caecd6f09c9)

pcap-npf.c

index 2fcd6df92f7ac3f3d726d372b13f8452e2b28916..60e08228808ea2b3a3070a4d2d470e42c8d1a9fa 100644 (file)
@@ -1622,10 +1622,10 @@ pcap_create_interface(const char *device _U_, char *ebuf)
                 * settable timestamp modes, but that would hide a bug.
                 */
                if (num_ts_modes == 0) {
-                               snprintf(ebuf, PCAP_ERRBUF_SIZE,
-                                   "PacketGetTimestampModes() reports 0 modes supported.");
-                               pcap_close(p);
-                               return (NULL);
+                       snprintf(ebuf, PCAP_ERRBUF_SIZE,
+                           "PacketGetTimestampModes() reports 0 modes supported.");
+                       pcap_close(p);
+                       return (NULL);
                }
 
                /*