Skip to content

Conversation

@oldium
Copy link

@oldium oldium commented Apr 17, 2024

This Pull Request contains multiple fixes and improvements:

  • Compile-time fixes for sockelen_t usages and printf size_t/ssize_t usages
  • More relaxed Content-Type value checking - allow semicolon and spaces around the expected value
  • Added missing -A and -B options, which are described in the help text
  • Allow usage completely without testparm, indicate this in the help output
  • When printing help, first process all options and indicate actual values in the help output
  • Added logging of read values from configuration

Obsoletes: #44

oldium added 10 commits April 16, 2024 21:41
Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
Enhance check of Content-Type value by allowing space or semicolon after
the value.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
When testparm is missing, simply use hostname as a basis for hostname
and netbiosname parameters.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
First process command line options and then set the missing values. For
help purposes initialize the mising defaults in order to show effective
values.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
The not-found is simply an empty line.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
@oldium oldium changed the title Added config file parameter and command-line option, improved handling without testparm Added config file parameter and command-line option, improved handling without testparm, relaxed Content-Type checks Apr 17, 2024
@lherschi
Copy link

The code can be built in my cross-compiler environment.

@oldium oldium marked this pull request as ready for review May 27, 2024 13:16
@oldium
Copy link
Author

oldium commented Jan 14, 2025

@Andy2244 would it be possible to merge this, please?

@oldium
Copy link
Author

oldium commented Aug 31, 2025

Ping @Andy2244

@Andy2244
Copy link
Contributor

Can't as i dropped ownership back to Netgear and have no write access anymore.

@oldium
Copy link
Author

oldium commented Aug 31, 2025

Thanks for the info. Is there anybody to ping from Netgear you know of, please?

@oldium
Copy link
Author

oldium commented Sep 2, 2025

I have not found owner of this project, so CC @saafshar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants