go fmt duh
This commit is contained in:
		
							parent
							
								
									5f3046319c
								
							
						
					
					
						commit
						596a551aa5
					
				| @ -6,9 +6,9 @@ package main | |||||||
| import ( | import ( | ||||||
| 	"flag" | 	"flag" | ||||||
| 	"fmt" | 	"fmt" | ||||||
|     "os" |  | ||||||
| 	"github.com/akrennmair/gopcap" | 	"github.com/akrennmair/gopcap" | ||||||
| 	"github.com/op/go-logging" | 	"github.com/op/go-logging" | ||||||
|  | 	"os" | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| var log = logging.MustGetLogger("gpk") | var log = logging.MustGetLogger("gpk") | ||||||
| @ -69,15 +69,15 @@ func main() { | |||||||
| 
 | 
 | ||||||
| 	flag.Parse() | 	flag.Parse() | ||||||
| 
 | 
 | ||||||
|     go send(device, targetlist, portlist); | 	go send(device, targetlist, portlist) | ||||||
|     receive(device); | 	receive(device) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func parsePortList (pl *[]uint16, s *string) { | func parsePortList(pl *[]uint16, s *string) { | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func parseTargetList (tl *[]uint32, s *string) { | func parseTargetList(tl *[]uint32, s *string) { | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| @ -91,7 +91,7 @@ func send(device *string, targetlist *string, portlist *string) { | |||||||
| 
 | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func sendSyn (device *string, sport uint16, dst uint32, dport uint16) { | func sendSyn(device *string, sport uint16, dst uint32, dport uint16) { | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user