mirror of
				https://github.com/yggdrasil-network/yggstack.git
				synced 2025-11-04 00:15:06 +03:00 
			
		
		
		
	Apply formatting fixes
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
This commit is contained in:
		
							parent
							
								
									ad7ea39e31
								
							
						
					
					
						commit
						4069104169
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -15,9 +15,9 @@ import (
 | 
				
			||||||
	"syscall"
 | 
						"syscall"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/gologme/log"
 | 
						"github.com/gologme/log"
 | 
				
			||||||
	"github.com/things-go/go-socks5"
 | 
					 | 
				
			||||||
	gsyslog "github.com/hashicorp/go-syslog"
 | 
						gsyslog "github.com/hashicorp/go-syslog"
 | 
				
			||||||
	"github.com/hjson/hjson-go/v4"
 | 
						"github.com/hjson/hjson-go/v4"
 | 
				
			||||||
 | 
						"github.com/things-go/go-socks5"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/yggdrasil-network/yggdrasil-go/src/address"
 | 
						"github.com/yggdrasil-network/yggdrasil-go/src/address"
 | 
				
			||||||
	"github.com/yggdrasil-network/yggdrasil-go/src/admin"
 | 
						"github.com/yggdrasil-network/yggdrasil-go/src/admin"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -102,12 +102,12 @@ func (e *YggdrasilNIC) WritePackets(
 | 
				
			||||||
		n, err := vv.Read(e.writeBuf)
 | 
							n, err := vv.Read(e.writeBuf)
 | 
				
			||||||
		if err != nil {
 | 
							if err != nil {
 | 
				
			||||||
			log.Println(err)
 | 
								log.Println(err)
 | 
				
			||||||
			return i-1, &tcpip.ErrAborted{}
 | 
								return i - 1, &tcpip.ErrAborted{}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		_, err = e.ipv6rwc.Write(e.writeBuf[:n])
 | 
							_, err = e.ipv6rwc.Write(e.writeBuf[:n])
 | 
				
			||||||
		if err != nil {
 | 
							if err != nil {
 | 
				
			||||||
			log.Println(err)
 | 
								log.Println(err)
 | 
				
			||||||
			return i-1, &tcpip.ErrAborted{}
 | 
								return i - 1, &tcpip.ErrAborted{}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue