Re: Dropping of the end of a chain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 14 Nov 2024 15:01:33 +0100
Thomas Köller <thomas@xxxxxxxxxxxxxxxxxx> wrote:

> The nft manpage states that if the end of a chain invoked via 'goto' is 
> reached without a verdict, 'evaluation will continue at the last chain 
> instead of the one containing the goto statement'. I cannot make sense 
> of this; what is the 'last chain'?


I believe 'last chain' means the chain that called the one containing the 'goto'. In programming, 'goto' differs from 'gosub'. Here, 'goto' has the same connotations in that it skips the 'calling conventions' so that returning from the called chain without a verdict is the same as returning from the calling chain without a verdict.

N





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux