'dig +short' should explicitly enable printing the answer section.
Otherwise, 'dig +noall +short' prints nothing.
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dig.c,v 1.157.2.1 2001/09/11 01:37:48 gson Exp $ */
+/* $Id: dig.c,v 1.157.2.2 2001/09/18 01:04:05 gson Exp $ */
#include <config.h>
#include <stdlib.h>
if (state) {
printcmd = ISC_FALSE;
lookup->section_additional = ISC_FALSE;
+ lookup->section_answer = ISC_TRUE;
lookup->section_authority = ISC_FALSE;
lookup->section_question = ISC_FALSE;
lookup->comments = ISC_FALSE;