Create a function to generate aliases and nested aliases. This will translate all network and hosts aliases in tables and there will be no more ugly tricks in the code. While here fix the bug that aliases can generate a line longer than 4096 characters that is not supported by pf(4). The new functionality supports alias nesting for network and host type of aliases but the gui needs improvemnet on this.
Create a function to generate aliases and nested aliases. This will translate all network and hosts aliases in tables and there will be no more ugly tricks in the code. While here fix the bug that aliases can generate a line longer than 4096 characters that is not supported by pf(4). The new functionality supports alias nesting for network and host type of aliases but the gui needs improvemnet on this.