Skip to content

Commit

Permalink
populate Attrs in requestFromPacket
Browse files Browse the repository at this point in the history
  • Loading branch information
puellanivis committed Feb 12, 2024
1 parent 5d66cde commit 159d286
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions request.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func requestFromPacket(ctx context.Context, pkt hasPath, baseDir string) *Reques
switch p := pkt.(type) {
case *sshFxpOpenPacket:
request.Flags = p.Pflags
request.Attrs = p.Attrs.([]byte)
case *sshFxpSetstatPacket:
request.Flags = p.Flags
request.Attrs = p.Attrs.([]byte)
Expand Down

0 comments on commit 159d286

Please sign in to comment.